- Posts: 22
- Thank you received: 0
Add a Confirm Email Field
- lumis
- Topic Author
- Offline
- Junior Member
Less
More
8 years 8 months ago #67225
by lumis
Add a Confirm Email Field was created by lumis
Hi, I need to add a CONFIRM EMAIL field, as we have had a few people mistype their email addresses, and not receive invoices and emails. How can I create a second email field and make sure that it matches the first email address field?
Thanks,
Aaron
Thanks,
Aaron
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 8 months ago #67289
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Add a Confirm Email Field
Hi Aaron
You can go to Events Booking -> Custom Fields, create a new custom field with following settings :
1. Title : Confirm Email (or any title you want)
2. Name : eb_confirm_email
3. Validation rules: validate[required,custom
You can go to Events Booking -> Custom Fields, create a new custom field with following settings :
1. Title : Confirm Email (or any title you want)
2. Name : eb_confirm_email
3. Validation rules: validate[required,custom
Please Log in or Create an account to join the conversation.
- lumis
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 0
8 years 8 months ago - 8 years 8 months ago #67312
by lumis
Replied by lumis on topic Add a Confirm Email Field
Hi Tuan,
Sorry, I had to edit my original reply - this did not work for me. If the two fields do not match, I see 2 "Fields do not match" warnings (which makes sense). However even if the Confirm Email field matches the Email field, then the Confirm Email field still displays the warning.
The validation code I used was:
validate[required,custom,equals
Sorry, I had to edit my original reply - this did not work for me. If the two fields do not match, I see 2 "Fields do not match" warnings (which makes sense). However even if the Confirm Email field matches the Email field, then the Confirm Email field still displays the warning.
The validation code I used was:
validate[required,custom,equals
Last edit: 8 years 8 months ago by lumis.
Please Log in or Create an account to join the conversation.
- lumis
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 0
8 years 8 months ago #67313
by lumis
Replied by lumis on topic Add a Confirm Email Field
Hi Tuan,
If I remove the 'custom' part of the validator rule you suggested, then the Confirm Email field works correctly
Is there any reason why I need 'custom' in the rule? I've looked at the jquery validation rules and they are confusing to me :blink:
Thanks,
Aaron
If I remove the 'custom' part of the validator rule you suggested, then the Confirm Email field works correctly
Code:
validate[required,equals[email]]
Is there any reason why I need 'custom' in the rule? I've looked at the jquery validation rules and they are confusing to me :blink:
Thanks,
Aaron
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.