How Do I predefined date?

dharmaputra created the topic: How Do I predefined date?

Does anybody know how to predefined date?
For example I have an event that already have a fixed arrival and departure date, so I want to fixed the date rather than the customer have to choose the date.

Thank you so much.

peace and smile,
Br. Dharmaputra

#1587

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


Support replied the topic: Re: How Do I predefined date?

Dear Dharmaputra,

Currently there is no way to do that directly. However, as a workaround, you can add a text field instead, type in your desired value, and from the menu open the Edit Javascript window, and change the function before_submit like so:

function before_submit(){
   document.getElementById('your_field_id').disabled=true;
}

*you have to replace your_field_id by the id text that is shown in your field's edit window.

--
Best regards
Web-Dorado team


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#1600

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


Time to create page: 0.170 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