Skip to Content Skip to Menu

Error recording conditional fields on registration

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
10 years 2 months ago - 10 years 2 months ago #247715 by spletcher
I am using conditional fields and both showing and requiring a radio button field on registration only if a certain dropdown is chosen prior to this.

Despite choosing it, CB never recognizes this on the first time and gives the error (validation) message after you click submit - saying "XXX: This field is required"

If the user is patient and goes back, then it will record the field correctly and go through but always makes the user do it twice.

When I don't require the field, but show it using the conditional field parameters with the dropdown choice, it never records it since the validation doesn't ever show and the registration goes through.

The only time that it records the field on the first time is when I remove the conditional aspect and make the radio group a normal CB field.

How can I fix this error?

Thanks ahead of time
Last edit: 10 years 2 months ago by spletcher.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #247782 by krileon
Required state toggling is bugged. There's a bug ticket already in place to investigate for next release. For the time being I don't recommend using it. Typically you don't need to toggle the required state though. For example if the field as already being shown/hidden then the required state is taken care of for you already and you can just set the field as required.


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.

  • spletcher
  • spletcher
  • OFFLINE
  • Posts: 54
  • Thanks: 0
  • Karma: 0
10 years 2 months ago #247806 by spletcher
Actually I have set the field as required and then just toggling the "shown" state and still it gives me the validation error that it is required even though I filled it out.
So I don't understand your solution since this is what I believe I have tried.
The only solution I see is not to toggle the "shown" state but then we are showing this field to many classes of users who shouldn't be filling it out.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #247845 by krileon
Please PM backend super administrator login credentials with details on how to reproduce and what fields are causing problems.


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