• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: verify two email addresses

verify two email addresses 17 years 5 months ago #1885

  • htis
  • htis's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I would like for the form to verify that the user has entered the same email address

email address ________________

confirm email _________________

Pop an error message that the email addresses dont match


Any one have a quick and easy solution?
The administrator has disabled public write access.

Re:verify two email addresses 17 years 2 months ago #2944

Has anyone found a solution to this ?
I have the same problem !!!

Thanx..
The administrator has disabled public write access.

Re:verify two email addresses 17 years 2 months ago #2946

  • richiep
  • richiep's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 131
I'm not exactly sure how to do this but you could probably use a JavaScript to do what you need.

I'm sure you can find something, search around the web and see what you can find.

Please post your solution if you find it.

Good luck
Richiep
The administrator has disabled public write access.

[SOLVED] Re:verify two email addresses 17 years 2 months ago #2989

SOLVED

1.
Added as you said a JavaScript (in the Form Style Window):

Script here:
lab.artlung.com/compare_fields/


2.
Added the command to check the fields (in the Form Style Window), right after action=\"{action}\"

onsubmit=\"return checkEmail(this);\"

Just what i wanted :)

Forgot to mention that you have to change the EMAILx with your FIELD ID's.

Post edited by: tribedude, at: 2008/05/19 00:30<br><br>Post edited by: tribedude, at: 2008/05/19 00:31
The administrator has disabled public write access.

Re:[SOLVED] Re:verify two email addresses 17 years 4 weeks ago #3601

Awesome.
Thanks for the research.

Cheers,
McMasters
The administrator has disabled public write access.

Re:[SOLVED] Re:verify two email addresses 17 years 1 day ago #3943

Hello all

Could this be converted so as to add it to the validation.php file?

This would make life so much easier not just for emails but passwords too.

Perhaps a validation function called match? It would just need to compare 2 adjacent fields.

Any ideas or takers? I'm afraid my coding isn't up to the task - yet :(

Regards

David
The administrator has disabled public write access.

Re:verify two email addresses 16 years 9 months ago #5016

  • uspweb
  • uspweb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
I agree, this would be a VERY useful built in option!! :)
The administrator has disabled public write access.

Re:verify two email addresses 16 years 9 months ago #5026

  • octavian
  • octavian's Avatar
  • NOW ONLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

Thank you for your suggestion, it has been forwarded to the project manager and will be taken into consideration.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:[SOLVED] Re:verify two email addresses 15 years 4 months ago #10194

  • kyle.gonyea
  • kyle.gonyea's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Here's the simple validation rule that I use in case anyone is interested. Would have to be adjusted for your field values of course, or do with it as you please:
function doEmailsMatch( )
	{
		if(($_POST['form']['email']) != ($_POST['form']['email2']))
 
		return false;
 
		else return true;
	}
The administrator has disabled public write access.
The following user(s) said Thank You: Drdrew
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!