My apologies that this question may be quite basic and could demonstrate an inability on my part to choose the correct Google search terms! I usually manage to get further before I turn to the forums for help.
I am creating a form using FormIt and would like some fields in the form to appear depending on the answer selected in the previous field. This is demonstrated very well in this JsonFormBuilder example:
http://modxrevo.datawebnet.com.au/jsonformbuilder/demos/conditions.
In the example the form asks if you have a dog. If you select 'Yes' then a field appears that asks 'what is the dogs name'. If you answer 'No', then the 'what is the dogs name' field is not displayed.
I suppose the simple solution would be to use JsonFormBuilder but FormIt has some capabilities that I need which are not offered by JsonFormBuilder.
If anyone can give any advice or point me in the right direction to some existing documentation I would be very grateful.