Custom html field on registration page

7 years 6 months ago #287413 by JerryK132
Custom html field on registration page was created by JerryK132
Hi,

I am trying to add a postcode lookup to the registration form on our site. I have used CB Auto Actions to load the jquery code which performs the lookup, I just need to put in <div id="lookup_field></div> to show the postcode entry form and lookup button. How can I do this in a CB field? I have tried to do it in a Custom HTML field and in a Code field with no success.

To check the script was loading correctly, I put the <div> in the page header and it works properly. Link below shows it in the header.

dev01.fnf.org.uk/component/comprofiler/registers

Thanks,
Big J

Please Log in to join the conversation.

7 years 6 months ago #287416 by krileon
Replied by krileon on topic Custom html field on registration page
You'd just add it to a Custom HTML field and set it to display on registration. Your jQuery could also just dynamically create the div if you wanted. My guess is it's not an issue with the field output, but probably how your jQuery is binding to it. I recommend onAfterRegisterFormDisplay trigger when loading in extra jQuery on registration page.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: JerryK132

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.235 seconds

Facebook Twitter LinkedIn