- Posts: 159
- Thank you received: 2
Prevent registration depending on value of custom
- Roger
- Topic Author
- Offline
- Premium Member
-
Less
More
9 years 8 months ago #84453
by Roger
Prevent registration depending on value of custom was created by Roger
Hello Tuan
I have a special kind of event where the registrants have to fulfill some prerequisites. At the moment I have a drop down where the registrants select yes or no. If the user selects no I would like to show him an other page with additional information, telling him what to do. If he selects no it should also not be possible to finish the registration. Much like a required field that was not filled out.
Can you imagine what I'm talking about? I know I can set dependencies of the fields, but preventing the registration, showing additional information and all this without adjusting the Event Booking Code...
Maybe a hidden custom field the has a value preventing the registration could be a possibility, but how to show the additional information?
Thanks
Roger
I have a special kind of event where the registrants have to fulfill some prerequisites. At the moment I have a drop down where the registrants select yes or no. If the user selects no I would like to show him an other page with additional information, telling him what to do. If he selects no it should also not be possible to finish the registration. Much like a required field that was not filled out.
Can you imagine what I'm talking about? I know I can set dependencies of the fields, but preventing the registration, showing additional information and all this without adjusting the Event Booking Code...
Maybe a hidden custom field the has a value preventing the registration could be a possibility, but how to show the additional information?
Thanks
Roger
Please Log in or Create an account to join the conversation.
- Calum
- Offline
- Elite Member
-
Less
More
- Posts: 257
- Thank you received: 34
9 years 8 months ago #84460
by Calum
Replied by Calum on topic Prevent registration depending on value of custom
Custom field - type message
Make it dependant on the pre-requisite
Can put HTML in the message so could provide a link to a Joom Article providing help.
Make it dependant on the pre-requisite
Can put HTML in the message so could provide a link to a Joom Article providing help.
Please Log in or Create an account to join the conversation.
- Roger
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 159
- Thank you received: 2
9 years 8 months ago #84463
by Roger
Replied by Roger on topic Prevent registration depending on value of custom
That would show a message and would give me the possibility to add a link with additional information, but this doesn't prevent the registration.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 8 months ago #84502
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prevent registration depending on value of custom
Not possible to config Events Booking to make it works like that. I guess you will have to setup it as a custom field as normal, then hire someone to add custom javascript for you. Basically, when the value of that custom field change, it will check and disable the Process Registration button if needed (follow your rule)
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Roger
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 159
- Thank you received: 2
9 years 6 months ago #87663
by Roger
Replied by Roger on topic Prevent registration depending on value of custom
Hi Tuan
An idea just came up. How about if a create a hidden field, that is mandatory (custom field 2).
Is it possible that if someone clicks the correct value for custom field 1 that the dependency enters any value in field 2 and therefore makes it possible to finish the registration. If the user selects the wrong value in field 1 then the field 2 will be empty and since it is a mandatory field the registration can't be completed.
I hope you can follow my idea.
Thanks
Roger
An idea just came up. How about if a create a hidden field, that is mandatory (custom field 2).
Is it possible that if someone clicks the correct value for custom field 1 that the dependency enters any value in field 2 and therefore makes it possible to finish the registration. If the user selects the wrong value in field 1 then the field 2 will be empty and since it is a mandatory field the registration can't be completed.
I hope you can follow my idea.
Thanks
Roger
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.