Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Modular Form not clearing after submission?

Started by Muut Archive 9 years ago · 1 replies · 420 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 Deleted User, 9 years ago
0 1296 9 years ago
Archive · by Muut Archive, 9 years ago
2 890 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago