- Posts: 26
- Thank you received: 0
set minimum number for group registration
- erinchantz@yahoo.com
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 2 months ago #14070
by erinchantz@yahoo.com
set minimum number for group registration was created by erinchantz@yahoo.com
I am hosting a golf outing and I want to have foursomes sign up, but i want to set it up so four people MUST register in the group. Is there a way to do this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
13 years 2 months ago #14086
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: set minimum number for group registration
Hi
In this case, you will need to edit the code yourself. Open the file components/com_eventbooking/views/register/tmpl/group.php, find the code below :
Change it to :
After that, it should work as expected !
Regards,
Tuan
In this case, you will need to edit the code yourself. Open the file components/com_eventbooking/views/register/tmpl/group.php, find the code below :
Code:
if (parseInt(form.number_registrants.value)< 2) {
alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>");
form.number_registrants.focus();
return ;
}
Change it to :
Code:
if (parseInt(form.number_registrants.value)< 4) {
alert("<?php echo JText::_('EB_NUMBER_REGISTRANTS_IN_VALID'); ?>");
form.number_registrants.focus();
return ;
}
After that, it should work as expected !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
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.