Forms - Conditional Fields
Is there a way to create conditional fields on sign up forms? For example when signing up if a user answers X then certain fields become available and mandatory.
Or maybe a way to redirect to a second form based on answers to the initial form?
-
-
- · Antonio
- ·
Doesn't this module exist for UNA? Otherwise some code js example to get it? -
- · AQB Soft
-
·
In reply to Antonio
- ·
We haven't ported the Conditional Fields to UNA yet. It is in our TODO list, but we are unable to give any estimate on a release date.
-
- · AQB Soft
- ·
For those who are still interested, we've released the Conditional Fields module which adds this functionality.
-
- · Shane O
- ·
Thanks, that works perfectly for us. One request would be to include conditional mandatory fields? i.e. when a field becomes visible once another field is populated but once visible that field is now mandatory..
-
We haven't found a technical possibility to achieve that without modifying core system files.
There is a way to override any form's layout/display (which we are doing in this module), but at the moment in UNA there is no any way to override any form's fields checking which happens before a form gets rendered. In case in future such possibility will appear - we will definitely implement the support for mandatory conditional fields.