Is there any way to revert or add a reverse clause on the css changes made by a 'confiForms Rules for field Definition' where the action is 'Apply CSS on a field'?
For example, in my form, if a custom validation rule is not met, then I have set to where the box border will be changed to red, but I want this to disappear once a change has been or resubmitted. Currently, one the field has this case where if a user presses submit, the css will change, but if its submitted again and a different validation exception happens, that field stays red.
Thanks for any help :)
Hi
You just need to define a rule that is an inverse to the one that is defined and does what the reverse operation (applying css to unset what was set)
Alex
got it, but how would you make an inverse rule for an added class? Is there a way to remove a class without custom JS (I am on a server which does not support custom JS)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.