implement conditional required field in CB registration form

1 month 1 week ago #327391 by saman2
hi
i want ask my user in registration form for example have you any car? if he select yes then he must fill car color field. if select no he can submit registration form. is it possible with CB? how?
thank you

Please Log in to join the conversation.

1 month 1 week ago #327396 by krileon
That's doable using CB Conditional. You'd condition the car color field based off your question field.


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 to join the conversation.

1 month 1 week ago #327416 by saman2

krileon wrote: That's doable using CB Conditional. You'd condition the car color field based off your question field.

thank you Kyle but i want color field is a required field not simple field show or hide. i want if he has car the color field is a required field. with CB Conditional you can only set the field show or hide. you can not change field to be required, am i right?

Please Log in to join the conversation.

1 month 1 week ago #327442 by krileon
You can mark the field required and if it's hidden its validation will be suppressed. CB Conditional works perfectly fine for those scenarios. You can give it a try on our demo site below.

demo.cbdemosites.com/


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.146 seconds

Facebook Twitter LinkedIn