Ecovoyageurs
Member
Hi,
Do you know if there is a way to disable groups on form load based on the value of a field X ?
Best way would be to use a PHP plugin onbeforeload and tell that if the field X = a certain value, groups y and z should be "read only" before rendering... but is it doable ?
Another way would be with js and disable all fields onload but then it's still possible to change the fields values with urls params or some hacky technics...
Thanks for your help !
Do you know if there is a way to disable groups on form load based on the value of a field X ?
Best way would be to use a PHP plugin onbeforeload and tell that if the field X = a certain value, groups y and z should be "read only" before rendering... but is it doable ?
Another way would be with js and disable all fields onload but then it's still possible to change the fields values with urls params or some hacky technics...
Thanks for your help !