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

Use plugin php script then the submit button triggered

first-time

Started by Mirko Knorr 8 years ago · 0 replies · 557 views
8 years ago

I never write a grav plugin before, so sry if my question is trivial.

My issue is to write a plugin to validate if an email is correct or not. The script is finish now and I would like trigger it when users submit a form on my website. I read the documentation but still don't know it.

The function:

TXT
verifyEmail($toemail) {
  ...
}

Thank you in advance

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Mathieu Lecouturier, 21 hours ago
0 51 21 hours ago
Plugins · by Slebeig, 4 weeks ago
1 270 4 weeks ago
Plugins · by Rene, 2 months ago
2 429 2 months ago
Plugins · by Xavier, 2 months ago
2 342 2 months ago
Plugins · by Luka Prinčič, 7 years ago
3 1561 2 months ago