Hello,
I’m using the form plugin. Having removed the “display” section, I need to reset my fields after submit.
I tried this method but nothing changed. I’m a beginer, so maybe I did it wrong?
A sample of my modular.md:
form:
name: contactform
action: /home#contact
fields:
-
name: message
[...]
validate:
required: true
-
name: g-recaptcha-response
[...]
validate:
required: true
buttons:
-
type: submit
value: Submit
process:
-
[...]
reset: true
I tried to put the reset:true in multiple places but no success (just got some error messages).
Sure that I’m doing it wrong but what’s the good way?
Thanks for your attention.
Pauline.