Prevent registration depending on value of custom

  • Roger
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 8 months ago #84453 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

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #84460 by Calum
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.

Please Log in or Create an account to join the conversation.

  • Roger
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 8 months ago #84463 by Roger
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.

More
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

Please Log in or Create an account to join the conversation.

  • Roger
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #87663 by Roger
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

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc