Triggers for custom forms


(Catherine Jenkins) #1

I was wondering if the triggers worked for custom forms and what options are available. eg. to display certain questions only if a user selects a specific option.
Is this explained in any of the user manuals?


(Avi Miller) #2

This is not quite what triggers are designed to do: Triggers cause Matrix to perform additional work based on a particular event (for example, creating a new asset, or making an asset live).


There is currently no mechanism to change the content of a Custom Form based on a user's previous question responses.


(Gab) #3

I notice this was discussed in 2005. Is there any change since then because this is exactly what I need. Thank you


(Bart Banda) #4

This is done with basic JS to show and hide fields dynamically based on previous answers. You can add data- based attributes into the form fields that should be hidden/shown and write JS to target them accordingly.