How to create a condition for Time and Date form?
Sanzhar created the topic: How to create a condition for Time and Date form?
Hey! I use Time and Date form for one of my websites and what I want to do is create a condition so that user can not choose date later than 20th of any month. I would like either the calendar to be unable to select days from 1 to 19 OR so that an error message appears after you click on submit button which states that they can't choose days from 1 to 19 and brings user back to form, just like if the required field is empty.
I suspect you need to add something to Javascript in form options to these lines:
// Occurs before the form is loaded
function before_load()
{
}
// Occurs just before submitting the form
function before_submit()
{
}
// Occurs just before resetting the form
function before_reset()
{
}
but I am not sure what to add and how to call the form. The form field id is wdform_25_elementform_id_temp and class name is timeAndDateOne if that would help.
Thanks in advance!
Please Log in or Create an account to join the conversation.
9 years 1 month ago
Support replied the topic: How to create a condition for Time and Date form?
Dear Sanzhar,
This option requires additional customization of the product which we can do for you for additional fee.
Best regards,
Web-Dorado team
Joomla extensions ,
Wordpress plugins ,
Drupal modules
Please Log in or Create an account to join the conversation.
9 years 1 month ago