Open zonky2 opened 3 months ago
Wouldn't work with the insert-tag {{request_token}}
as it has been removed in C5
I am aware of this - but this is the original template...
Remember that ajaxform won't be used in Contao 5 anymore since it's part of the Contao Core in 5.1, thus you'd be able to use the template from the contao core 😄.
Meaning you wouldn't need to bother about that.
@zoglo
The behaviour with Contao 5 still needs to be checked.
To ensure that the conditions for previous steps work with MP_Forms, a data attribute is filled with values in the form tag.
When used with ajax-form, the form tag is not updated and therefore no current values can be read from conditional-formfields.
As a workaround, the template ajaxform_inline.html5 can be customised:
The behaviour with Contao 5 still needs to be checked.