• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: disable checkbox at given date

disable checkbox at given date 3 years 1 month ago #41897

Hi there,
we have an order form with checkboxes for 8 events, spread over 2 years. Each event has its own registration deadline, and I'd like to disable each checkbox automatically once "today" is past the registration deadline.

My approach would be to add a corresponding hidden field per event with the deadline date, then create a date check onload of the form, which will compare today's date with the hidden field, and finally, if (today > deadline) add a [d] to the checkbox dynamically.

The question is, where do I add the respective code snippet for the date check, and how would I add the [d]?

Thanks,
Richard
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!