A
A
Andrey Harmash2020-01-23 14:21:09
CMS
Andrey Harmash, 2020-01-23 14:21:09

Kirby - Default zero form fields when validating Email. Can this be fixed?

Here I use a contact form made on Kirby ( ev.viaduct.pro/neutra/en/contact )
If you enter an incorrect email, the field is validated, a warning is issued and the entered data in the form is reset. It costs by default.
Is it possible to bypass this and remove the auto-zeroing of fields when entering the wrong mail?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Harmash, 2020-01-23
@zKAKTYSz

If anyone is interested, I solved the problem.
1) Took the data that is stored in "POST-data"
2) Displayed the data in the input, in the "value" attribute
3) Made a condition so that they are displayed only if the notification of an incorrectly filled form is active

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question