|
Dynamic Form Field
I am building a meal booking form, the page uses PHP to create a standard HTML form. Currently there is a field that I would like to appear dynamically when a certain option is selected from a drop down menu.
To make this clear I have attached some screens of what the page currently looks like "field_showing.PNG" and what I would like it to look like "field_not_showing.png".
When "Hospitality Allowance" is selected we do not want the users to populate the Description field.
I'm sure there is some javascript that will do this but I have not been able to find any code so far and was hoping someone here might have experience of this
|