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?
In the easiest way, it will require to have Javascript / JQuery code (via inserting the RAW block on Create-Person page or via Injections for this page too).
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.
Hello Shane O !
In the easiest way, it will require to have Javascript / JQuery code (via inserting the RAW block on Create-Person page or via Injections for this page too).
Doesn't this module exist for UNA? Otherwise some code js example to get it?
https://www.boonex.com/m/conditional-fields
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.
For those who are still interested, we've released the Conditional Fields module which adds this functionality.
S
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.