Hi,
I have a form with several date fields using jQuery datePicker.
The form opens fine. After I set the form body panel to displayonly in the before page script, the form opens with the calender showed for all the date fields.
What is the reason? How to make the calender for each fields does not show up?
Thanks,
Xiaoli
all fields with datePicker jQuery behave strangely.
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Ebase User
- Posts: 95
- Joined: Wed Feb 27, 2013 5:16 pm
when do you initialise your datepickers, I imagine on document ready?
On our text control for our date field our HTML Element Properties contains the following:
id = datePicker
Then under Jquery, onclick event:
This allows the calendar to pop up when the user clicks the field
On our text control for our date field our HTML Element Properties contains the following:
id = datePicker
Then under Jquery, onclick event:
Code: Select all
$('#datePicker').datepicker({
dateFormat: 'dd/mm/yy'
});
0 x
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
- Wai
- Moderator
- Posts: 165
- Joined: Wed Sep 12, 2007 9:04 am
- Location: Sandy, UK
- Contact:
Who is online
Users browsing this forum: No registered users and 5 guests