• 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: RsForms - Turn off calender | multiple

RsForms - Turn off calender | multiple 1 year 7 months ago #42253

Hi I have a form which has 10 Date & time pickers on and I only want the time picker to show.

I no I can use the below to turn it off for 1 Date & time picker, but was wondering if instead of me entering the below in 10 times I could just enter it once?
<script type="text/javascript">
jQuery(document).ready(function(){
  myDateTPicker = RSFormPro.jQueryCalendar.calendars[25]['myDateTimePickerNameHere'];
  //replace 25 with your form ID and the date time picker name.
  myDateTPicker.calendarInstance.setOptions({
    datepicker:false,
    timepicker:true
  });
});
</script>

Any ideas?

Thank you in advance
John
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!