Hi,
sorry for my inexperience.
I'm realizing an acceptance form in CF6.
We must do n. 2 acceptance with flag or selection by drop-down Yes / No, for which it is not possible to activate the event tabs for a final action: enable / disable the submit button, but you must add the two acceptances.
I thought about creating a PHP options with the different possibilities.
Question:
can you help me to write PHP to activate / deactivate the submit button?
To make effective the return of the PHp options I use a custom code to direct it to the submit button? with what syntax?
Reference elements:
1 dropdown: field_select1 => choices: n = No, y = Yes
2 dropdwon: field_select2 => choices: n = No, y = Yes
Many thanks for the time you dedicate to me
sorry for my inexperience.
I'm realizing an acceptance form in CF6.
We must do n. 2 acceptance with flag or selection by drop-down Yes / No, for which it is not possible to activate the event tabs for a final action: enable / disable the submit button, but you must add the two acceptances.
I thought about creating a PHP options with the different possibilities.
Question:
can you help me to write PHP to activate / deactivate the submit button?
To make effective the return of the PHp options I use a custom code to direct it to the submit button? with what syntax?
Reference elements:
1 dropdown: field_select1 => choices: n = No, y = Yes
2 dropdwon: field_select2 => choices: n = No, y = Yes
Many thanks for the time you dedicate to me