- Posts: 1
- Thank you received: 0
Please post all pre-sales questions of all products on this forum
validate[equals[email]] fails in group registratio
- Gianna Fallani
- Topic Author
- Offline
- New Member
-
Less
More
8 years 2 months ago #93979
by Gianna Fallani
validate[equals[email]] fails in group registratio was created by Gianna Fallani
Good morning
I followed your advice and I created a field named "email2" where users have to enter same value of the field "email".
Unfortunately, the check fails in the group registration.
I inspected the source code and I found that, in Group Registration, the field "email" has a new id (something like "email_1")
Perhaps this is the reason why the validation fails.
Thanks in advance,
Gianna
I followed your advice and I created a field named "email2" where users have to enter same value of the field "email".
Unfortunately, the check fails in the group registration.
I inspected the source code and I found that, in Group Registration, the field "email" has a new id (something like "email_1")
Perhaps this is the reason why the validation fails.
Thanks in advance,
Gianna
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 2 months ago #94040
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic validate[equals[email]] fails in group registratio
Hi Gianna
Unfortunately, that validate equals can only works on billing step (Individual and group billing step in group registration)
It won't work for group members because the name of field is changed for each member. We will try to find a solution for this problem in the next release
Regards,
Tuan
Unfortunately, that validate equals can only works on billing step (Individual and group billing step in group registration)
It won't work for group members because the name of field is changed for each member. We will try to find a solution for this problem in the next release
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- FLS
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 5 months ago #106286
by FLS
Replied by FLS on topic validate[equals[email]] fails in group registratio
Hi Tuan,
Has there been any progress made toward a solution for this issue? It is a feature my organisation would like to utilise as well.
Thanks,
Cianan.
Has there been any progress made toward a solution for this issue? It is a feature my organisation would like to utilise as well.
Thanks,
Cianan.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 5 months ago #106288
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic validate[equals[email]] fails in group registratio
Hi Cianan
This issue was sorted long time ago, I just forgot to update this topic. So you can update to this latest version of the extension and everything will work OK
Regards,
Tuan
This issue was sorted long time ago, I just forgot to update this topic. So you can update to this latest version of the extension and everything will work OK
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- FLS
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 5 months ago #106292
by FLS
Replied by FLS on topic validate[equals[email]] fails in group registratio
Hi Tuan,
That's great to hear. Could you advise the specific validation required for 'email' and 'confirm email' fields to work together on a group registration form?
Thanks,
Cianan.
That's great to hear. Could you advise the specific validation required for 'email' and 'confirm email' fields to work together on a group registration form?
Thanks,
Cianan.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 5 months ago #106294
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic validate[equals[email]] fails in group registratio
Hi Cianan
Just use the original syntax validate[equals
Just use the original syntax validate[equals
Please Log in or Create an account to join the conversation.
- FLS
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 5 months ago - 7 years 5 months ago #106296
by FLS
Replied by FLS on topic validate[equals[email]] fails in group registratio
Hi Tuan,
I think we are talking at crossed purposes here. The problem I am referring to is validation between a confirm email field and an email field on the group form only. The syntax you posted does not work on the group form as the confirm email and email fields for member 2 are different to member 1's. So the rule looks only at the first instance of email on the form.
What I am after is to have the email and confirm email field to be validated only within each group member. For example,
email_1 equals confirm_email_1
email_2 equals confirm_email_2
Can you propose a validation rule that allows the confirm email field for each group member to be validated against any of the email fields. For example, for the validation rule in confirm email:
Validate[equals,email_1 OR email_2 OR email_3 ... {email_10}]
Thanks,
Cianan,
I think we are talking at crossed purposes here. The problem I am referring to is validation between a confirm email field and an email field on the group form only. The syntax you posted does not work on the group form as the confirm email and email fields for member 2 are different to member 1's. So the rule looks only at the first instance of email on the form.
What I am after is to have the email and confirm email field to be validated only within each group member. For example,
email_1 equals confirm_email_1
email_2 equals confirm_email_2
Can you propose a validation rule that allows the confirm email field for each group member to be validated against any of the email fields. For example, for the validation rule in confirm email:
Validate[equals,email_1 OR email_2 OR email_3 ... {email_10}]
Thanks,
Cianan,
Last edit: 7 years 5 months ago by FLS.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 5 months ago #106297
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic validate[equals[email]] fails in group registratio
Hi Cianan
Yes, I understand the issue we are facing and I am still correct. Please do what I said and check the result, unless you customize the code of the group registration form layout, it will work
The reason is because in the code, I have something which help handling it automatically, see below (if you know PHP code):
$cssClass = $field->getAttribute('class');
$cssClass = str_replace('equals
Yes, I understand the issue we are facing and I am still correct. Please do what I said and check the result, unless you customize the code of the group registration form layout, it will work
The reason is because in the code, I have something which help handling it automatically, see below (if you know PHP code):
$cssClass = $field->getAttribute('class');
$cssClass = str_replace('equals
Please Log in or Create an account to join the conversation.
- FLS
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
7 years 5 months ago #106310
by FLS
Replied by FLS on topic validate[equals[email]] fails in group registratio
Hi Tuan,
This works perfectly!
Apologies for misunderstanding and thank you very much for helping to resolve the issue.
Regards,
Cianan.
This works perfectly!
Apologies for misunderstanding and thank you very much for helping to resolve the issue.
Regards,
Cianan.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 5 months ago #106311
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic validate[equals[email]] fails in group registratio
You're welcome !
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc, Giang Dinh Truong, Mr. Dam
Support
Documentation
Information
Copyright © 2025 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.