• 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: Simple "confirm email" script

Simple "confirm email" script 14 years 10 months ago #10684

  • admin23
  • admin23's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi.

Has anybody created a simple script for a confirm e-mail input box?

All I'm after is a script to enter into the scripts tab of my form, so that if the form has 2 email input boxes(email & confirm email), the script checks that both e-mail addresses are identical upon form processing.

Thanks
The administrator has disabled public write access.

Re:Simple "confirm email" script 14 years 10 months ago #10689

  • matt
  • matt's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 136
  • Thank you received: 14
The administrator has disabled public write access.
The following user(s) said Thank You: phillip.van.niekerk

Re:Simple 14 years 10 months ago #10774

  • admin23
  • admin23's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
matt wrote:Hi, I just tried following that script completely, and it didn't work at all. The e-mail still submitted and never threw up the error that the e-mails didn't match.
The administrator has disabled public write access.

Re:Simple 14 years 10 months ago #10780

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

Please note that the script was tested before being offered to our users.Please double check your field names and also the trigger for the script.

If the problem persists please submit a ticket to our tech support.
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:Simple 12 years 1 week ago #22838

  • calvin9
  • calvin9's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
The link is broken to this article for me.
updated

www.rsjoomla.com/support/documentation/v...sing-javascript.html
Last Edit: 12 years 1 week ago by calvin9.
The administrator has disabled public write access.

Simple "confirm email" script 11 years 6 months ago #25465

  • yamthief
  • yamthief's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
For anyone trying to do this, the instruction miss out a vital step which allows the JavaScript to check the 2 emails. The JavaScript compares 2 ID's, but you need to define these ID's in the form or else it will return true...

In the form, edit both 'email1' and 'email2', click the attributes tab and enter either id="email1" or id="email2" respectively.

With this modification, the script works well :)
The administrator has disabled public write access.

Simple "confirm email" script 11 years 6 months ago #25467

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
No, you do not need to add the IDs in the Additional Attributes tab since they're already added. All fields added in RSForm! Pro have an automatically generated ID (based on the name). So if you name your field "Something" the ID will also be "Something".
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.

Simple "confirm email" script 11 years 4 months ago #26032

  • lwaa
  • lwaa's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
works perfectly, thanks!

I'd prefer to have the error message come up in the same style as missing content does - rather than a pop up.
The administrator has disabled public write access.

Simple "confirm email" script 11 years 1 month ago #27130

  • support
  • support's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I strongly agree. Who wants to see Javascript alerts these days?
The administrator has disabled public write access.

Simple "confirm email" script 10 years 8 months ago #28676

Hi,

Both links are broken. Is there any updated link to create this script?
I have RSForm Pro v1.49.8.

Thanks!
The administrator has disabled public write access.

Simple "confirm email" script 10 years 8 months ago #28687

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Please keep in mind that this is an old topic and updates have been made to the component. You can use the fowlling validation rule to achieve your scenario: Same Value as Other Field. Using this will check if two fields have the same value, selecting this validation another field will appear called "Field Name To Compare With" where you can add that field's exact name you want it to compare to.

More information can be found here:
http://www.rsjoomla.com/support/documentation/view-article/826-textbox.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
  • 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!