Change visibility on form section

By: Dev IT | Asked: 10/10/2023
ForumsCategory: General questionsChange visibility on form section
Dev ITDev IT asked 6 months ago
Please which hook can be use to change visibility section depending of field entry ?
Rob LeVineRob LeVine replied 6 months ago

Please give much more detail, with a specific example of what you're trying to accomplish.

Dev ITDev IT replied 6 months ago

Thank you for your reply.
I have a form on which I group fields by section for the users, I would like each to be displayed depending on the group to which the user is associated. I manage to do this using logical expressions, however I would like this to be done under a function in the code, a hook for example which allows you to modify the visibility of sections of a form.

Rob LeVineRob LeVine replied 6 months ago

Maybe this?
Otherwise, you'll have to use jQuery.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community