10 years ago
3
Topic

Hi!
I would like to make 2 field groups visible depending on checkboxes.
I need to make the fields required in the groups.
My problem is that even though I have read that if a required field is not visible, it will not be required, I am still getting error messages for the invisible fields on submission. 
I have also cusomized the error messages, eg. Please provide your ... details. But that is not the error message I receive.

I get :
This field is recuired:... field_name.
What can I do to solve this problem?
Thanks in advance!

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
2
Level 1

Try adding a rule to make it disabled, not just hidden

10 years ago
1
Level 2

Hi Klas!

This is the way I set it up, but it is still asking for the hidden fields.
Thank you!

10 years ago
0
Level 3

Hi Klas!

Finally, I could make it work!
I had to give a default value of the text field, and it worked with the settings I have attached!
Thanks!

Get a VIP membership