show a fieldset previously hidden
show a fieldset previously hidden

how to show a fieldset previously hidden in a form according to the option selected in a menu
This discussion has been closed.
how to show a fieldset previously hidden in a form according to the option selected in a menu
Answers
Hi @samuelvincent ,
Is this using Editor? If so,
dependent()
would do the trick - see example here.Cheers,
Colin
hi!
thanks for your reply, i found it before your answer.
on the other hand I can not check the fields of my form.
I found examples of code but nothing works, hidden fields are always taken into account in the verification of my form and I have messages of errors.
thanks a lot
Yep, if those fields are declared, they would still be sent to the server - so your scripts would need to consider when doing the validation.