[Solved] Hide some useless fields in waiting list?
- Tuan Pham Ngoc
- Offline
- Administrator
-
Less
More
8 years 5 months ago #105112
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Thanks for sharing Baptiste
@Donal: You can apply the same change (or download latest package on server to update), then send us the link, tell us what field you want to hide and we can help with providing this custom css
Tuan
@Donal: You can apply the same change (or download latest package on server to update), then send us the link, tell us what field you want to hide and we can help with providing this custom css
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
Less
More
- Posts: 240
- Thank you received: 17
8 years 5 months ago #105176
by Donal
Hi Tuan, I don't think this solution will work for me as I want to hide to Payment Information Section.
Replied by Donal on topic How to hide some useless fields in waiting list?
Tuan Pham Ngoc wrote: Thanks for sharing Baptiste
@Donal: You can apply the same change (or download latest package on server to update), then send us the link, tell us what field you want to hide and we can help with providing this custom css
Tuan
Hi Tuan, I don't think this solution will work for me as I want to hide to Payment Information Section.
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
Less
More
- Posts: 240
- Thank you received: 17
7 years 3 months ago #120277
by Donal
Hi Tuan,
I followed your instructions and have hidden some of the registration form fields.
I thought I had everything working fine, but the fields I have hidden are required for actual registration. Now, unfortunately nobody can join the waiting list as they get an error:
Error
Field Child's School is invalid
Field Permission to Leave? is invalid
Field Photos Allowed? is invalid
Is there a way to hide fields which are required for registration, but unnecessary for just joining a waiting list?
Thanks,
Donal
Replied by Donal on topic How to hide some useless fields in waiting list?
Tuan Pham Ngoc wrote: Hi
You can follow the instructions below to get it works:
1. Open the file components/com_eventbooking/view/register/tmpl/default.php
2. Find this line of code:
Code:<div id="eb-individual-registration-page" class="eb-container">
3. Change it to:
Code:<div id="eb-individual-registration-page" class="eb-container<?php echo $this->waitingList ? ' eb-waitinglist-individual-registration-form' : '';?>">
Then the page will has additional class eb-waitinglist-individual-registration-form to allow you to add additional styling if needed
If you use group registration, then change to another file is needed:
4. Open the file components/com_eventbooking/view/register/tmpl/group.php
5. Find this line of code:
Code:<div id="eb-group-registration-form" class="eb-container">
6. Change it to:
Code:<div id="eb-group-registration-form" class="eb-container<?php echo $this->waitingList ? ' eb-waitinglist-group-registration-form' : '';?>">
Then the page will has additional class eb-waitinglist-group-registration-form to allow you to add additional styling if needed
Hope this helps and you can do the change yourself
Tuan
Hi Tuan,
I followed your instructions and have hidden some of the registration form fields.
Code:
.eb-waitinglist-individual-registration-form #field_PermissionToLeaveInfo, .eb-waitinglist-individual-registration-form #field_PermissionToLeave, .eb-waitinglist-individual-registration-form #field_PhotoInfo, .eb-waitinglist-individual-registration-form #field_TakePhotos, .eb-waitinglist-individual-registration-form #field_childs_school {
display:none !important;
}
I thought I had everything working fine, but the fields I have hidden are required for actual registration. Now, unfortunately nobody can join the waiting list as they get an error:
Error
Field Child's School is invalid
Field Permission to Leave? is invalid
Field Photos Allowed? is invalid
Is there a way to hide fields which are required for registration, but unnecessary for just joining a waiting list?
Thanks,
Donal
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 3 months ago #120284
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Hi Donal
Currently, we don't support that option. As the data is now validated using server side validation, unless you make the fields optional, the mentioned workaround won't work anymore
Tuan
Currently, we don't support that option. As the data is now validated using server side validation, unless you make the fields optional, the mentioned workaround won't work anymore
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 3 months ago #120285
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Just an idea: Maybe you should set Default Value for these fields so that it has default value and will pass this validation?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.