Is it possible to create rules based on whether certain fields are hidden?
I have a form with primary dropdown whose options enable/show corresponding hidden secondary dropdowns and these secondary dropdowns have an option which enables/shows a hidden text field for the user.
However, when changing the selection in the primary dropdown, the hidden text field is still visible.
I would like a way to check whether the any of the secondary dropdowns are hidden and hide the text field again if so.
Is this something that's possible via Rules for Field Definitions?
Hi @Adamo G
What do you man by "hidden text" - is it something what you have in a custom layout for the form? Some static text that you put?
You can easily hide fields with rules - https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-Hidefield
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I have found that documentation.
My question is more along the lines of whether there is any condition/attribute that could check if a field is set to visible or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can probably have a custom JavaScript function that is called on form load and which checks UI elements for their visibility, but there is no such thing built in in the ConfiForms Field Definition Rules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.