BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - Verify an email with form.
  FAQ FAQ  Forum Search   Register Register  Login Login

Verify an email with form.

 Post Reply Post Reply
Author
Message
kfreerksen View Drop Down
Newbie
Newbie
Avatar

Joined: May 30 2020
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote kfreerksen Quote  Post ReplyReply Direct Link To This Post Topic: Verify an email with form.
    Posted: May 31 2020 at 4:05am
What java regular expression can I use to require a form field to match another form field?

I need a good way to verify a website user's email? I figure the best way would have to be by generating a number that gets sent to their email. However I'm not a coder whatsoever. So I'd like to make a java regular expression to apply as a rule to a form field.

I figure that would be the easiest way to ensure the user types the correct email. Between setting the behavior type to "(HTML5) email", having the regular expression rule to match the other field, and setting another rule to "email address (loosened)", the user can't type in the wrong email.

Please let me know what kind of regular expression I should use. And how to modify it for the field I want it to match to.

Thank you!


Edited by kfreerksen - May 31 2020 at 4:29am
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6195
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: May 31 2020 at 12:32pm
You can give a try to this one:


Note: it's javascript and/or jQuery not java.  Java is something else.


Edited by Hobby001 - May 31 2020 at 12:50pm
Back to Top
kfreerksen View Drop Down
Newbie
Newbie
Avatar

Joined: May 30 2020
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote kfreerksen Quote  Post ReplyReply Direct Link To This Post Posted: May 31 2020 at 2:58pm
Thank you I'll give it a try and let you know.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.