Verify an email with form. |
Post Reply |
Author | |
kfreerksen
Newbie Joined: May 30 2020 Status: Offline Points: 29 |
Post Options
Thanks(0)
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 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 |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6195 |
Post Options
Thanks(0)
|
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 |
|
kfreerksen
Newbie Joined: May 30 2020 Status: Offline Points: 29 |
Post Options
Thanks(0)
|
Thank you I'll give it a try and let you know.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |