Jquery datepicker mobile

Issues related to forms.
Post Reply
mrshah
 
 
Posts: 35
Joined: Thu Apr 02, 2015 9:51 am

Jquery datepicker mobile

Post by mrshah » Sun Oct 30, 2016 3:27 pm

Hello all,

2 questions.

1. How do i use the jquery date picker for mobile builder? (There is no option to insert)
2. How do i disable previous dates in the jquery calendar?

Thanks

PS: Please note, both questions relate to desktop and mobile devices.

thank you.

User avatar
Pablo
 
Posts: 14128
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Jquery datepicker mobile

Post by Pablo » Sun Oct 30, 2016 5:47 pm

jQuery Mobile does not have a date picker. This option is only available for standard web pages.

Disabling previous dates requires custom code:
http://api.jqueryui.com/datepicker/#option-minDate

mrshah
 
 
Posts: 35
Joined: Thu Apr 02, 2015 9:51 am

Re: Jquery datepicker mobile

Post by mrshah » Sun Oct 30, 2016 6:00 pm

excellent,

where do i place the custom code?

User avatar
Pablo
 
Posts: 14128
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Jquery datepicker mobile

Post by Pablo » Sun Oct 30, 2016 6:43 pm

You can put custom options in the 'Custom options' section of the date picker. Note however that I cannot give support on custom code because I also do not know how every option works.

mrshah
 
 
Posts: 35
Joined: Thu Apr 02, 2015 9:51 am

Re: Jquery datepicker mobile

Post by mrshah » Sun Oct 30, 2016 6:49 pm

Yeah, already tried all codes but it doesnt work.

thanks anyway :)

User avatar
Pablo
 
Posts: 14128
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Jquery datepicker mobile

Post by Pablo » Sun Oct 30, 2016 6:51 pm

If it does not work then the code you have added is probably wrong.
Please make sure you use the correct syntax, with JavaScript even a missing comma may stop everything else from working correctly.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests