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

Clean input form fields after submit in modular page

Started by Pedro M 6 years ago · 0 replies · 564 views
6 years ago

Hi there,

I'm turning HTML5 template into Grav Theme, and I'd like to use a contact form in the modular home. I'v following all steps in the Grav docs, and the form works fine, but when it shows the sending result, the form it showed again bellow the result message.

form_aftersubmit|690x466, 100%

If I configure the redirect option in .md contact form, when the form is sent ok, it instantly show the home page.

Two questions....

  1. Is possible hide the form, bellow the result of submitting?
  2. Is possible redirect to another page after submit the form?

Thanks in advance.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Vladimir Novak, 2 weeks ago
3 292 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago