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.

Plugins

Clean input form fields after submit in modular page

Started by Pedro M 6 years ago · 0 replies · 476 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 Rene, 1 week ago
2 49 1 week ago
Plugins · by Xavier, 4 weeks ago
2 57 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1184 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 75 2 months ago