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!

#23479

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


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
#23521

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


Time to create page: 0.156 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us