terminal42 / contao-conditionalformfields

Display form fields conditionally in Contao Open Source CMS
MIT License
18 stars 12 forks source link

does not work for GET forms #24

Closed fritzmg closed 4 years ago

fritzmg commented 6 years ago

If you set the the submission method of a form to GET, conditional form fields will not work anymore because the JavaScript of the extension assumes the presence of a hidden FORM_SUBMIT input field, which will not be present in GET forms.

Tested in Contao 4.5.8.

Toflar commented 6 years ago

I think that's on purpose.