Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Modular Form not clearing after submission?

Started by Muut Archive 9 years ago · 1 replies · 703 views
9 years ago

I have got the form working and set out, but I cannot get it to clear after a user submits their message. I've looked at the grav documentation for "reset: true" but that isn't working either - unless I'm putting it in the wrong place? At the moment that is in the modular.md page.

As a side-note, I also want the window to stay at the form section once it's been submitted rather than refreshing to the top of the page. How can I go about doing this?

Thanks for your help!

9 years ago

What is your form definition? Where did you put the reset option?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 597 1 day ago
Archive · by Deleted User, 9 years ago
0 2978 9 years ago
Archive · by Muut Archive, 9 years ago
2 1929 9 years ago
Archive · by Muut Archive, 9 years ago
2 5268 9 years ago
Archive · by Muut Archive, 9 years ago
1 4082 9 years ago