terminal42 / contao-mp_forms

Real step separation in the form generator of the Contao Open Source CMS
25 stars 13 forks source link

Improve the way a valid mp_form is determined #39

Closed Toflar closed 4 years ago

Toflar commented 4 years ago

Currently it's only valid if the very last form field is a page switch form field. This causes issues with e.g. grid elements.

We should improve that. The only thing that really matters is that there is no regular submit button field used.

Toflar commented 4 years ago

Improved in https://github.com/terminal42/contao-mp_forms/commit/71aa89db76b712d8151e0ff20bfa19db110ffab4.