Skip to Content Skip to Menu

bootstrap radiobutton in registration form

10 years 9 months ago - 10 years 9 months ago #239242 by thewebsurfer
Replied by thewebsurfer on topic bootstrap radiobutton in registration form
it's all just for a more friendly and good looking form (at the end i will show you as example of CB form modding, if you want :) )
another question: how can i "duplicate" next and previous button action in step by step registration?
i mean:
the first tab has just 2 radiobutton, i want to link to the second step those radio button, in this way the user doesn't need to click on "next" button, he just have to select one radiobutton.
i tried with a <a href="#step2">usertype1</a> but it doesn't work
Last edit: 10 years 9 months ago by thewebsurfer.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239263 by krileon
Replied by krileon on topic bootstrap radiobutton in registration form
Altering the HTML of an input will break its jQuery Validate bindings. So the field probably won't validate via jQuery anymore, but I guess that doesn't matter if there's only 2 values and at least 1 being set as the default. The step by step in CB Conditional is gone with next release (CB 2.0 can have tabbed registration like profile edit) so I wouldn't spend much time on it; you'd need to simulate the prev/next jQuery click event for it to go to previous or next step.


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.

Please Log in or Create an account to join the conversation.

10 years 9 months ago #239437 by thewebsurfer
Replied by thewebsurfer on topic bootstrap radiobutton in registration form

krileon wrote: Altering the HTML of an input will break its jQuery Validate bindings. So the field probably won't validate via jQuery anymore, but I guess that doesn't matter if there's only 2 values and at least 1 being set as the default. The step by step in CB Conditional is gone with next release (CB 2.0 can have tabbed registration like profile edit) so I wouldn't spend much time on it; you'd need to simulate the prev/next jQuery click event for it to go to previous or next step.


the validation works for now :)
sorry i don't get how simulate prev/next buttons..

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239491 by krileon
Replied by krileon on topic bootstrap radiobutton in registration form

sorry i don't get how simulate prev/next buttons..

Trigger a click on them (e.g. $( 'selector' ).click()). If they're completely removed from the DOM then that won't be possible as it binds specifically to them for navigation.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum