In Progress

JavaScript date validation

The booking form on my client's website has a JS datepicker that lets users choose a Departure date and an Arrival date.

The problem: Sometimes a user will select dates that are in the past.

The solution: We need is some Javascript that:

1) shows an alert when a user selects any date that is in the past.

2) shows and alert when the user selects an arrival that is BEFORE the selected departure date (arrival dates should always be after the departure date).

Please also be aware that the date pickers use the Australian date format (dd-mm-yyyy) and must remain that way.

You can see the form in action:

1) Visit [url removed, login to view]

2) Click the big pink 'Instant Quote & Booking' button.

3) Enter any number of days and click the 'Book Now' button.

4) Use the date pickers.

I can provide access to a duplicate of the website if required.

Skills: Javascript, jQuery / Prototype

See more:,, http www wiliam com au wiliam blog web design sydney chinese web fonts, http www rpsmigration com au australian visa service visa assessment, http www freelancers com au attach 388_e pdf 1458804206, http www freelancers com au attach 24_e pdf 1458804204, http www freelancers com au, http www freelancecommunications com au, http www designcrowd com au minimumdesignstandards aspx, data entry administrative assistance http www seek com au job 30469473 pos 45&type standard&engineconfig &userqueryid 6362604620, senior mechanical engineer 8yrs+ http www designandbuild com au engineering jobs senior mechanical engineer l building services, http www freelancer com au, http www coreldraw com au product graphic design software hptrack apac2hr1&ga 1.155185725 465230239.1448324101, http www avantcard com au index php, www freelancer com au http www freelancer com au, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books

About the Employer:
( 15 reviews ) Perth, Australia

Project ID: #12128450

Awarded to:


Hi I have extensive experience in javascript and I can surely pull this off in a very quick time. please let me know if you would like us to start on this. please share the ftp details so we can fix it. Regards Rah More

$35 AUD in 1 day
(4 Reviews)

60 freelancers are bidding on average $85 for this job


Hi, I can do your project, you can read my reviews about my skills. If you have a question, please contact me, my working hours are from 10 to 18 GMT+1. Regards

$77 AUD in 0 days
(77 Reviews)

Dear Sir, I am really interested to work on this project . I have very good experience of doing this sort of job, I can start the work now and can assure the best service from my end. I am waiting here to discuss More

$160 AUD in 3 days
(113 Reviews)

PS: I am not sure if you still need it, but I have create a demo for the restriction date: [url removed, login to view] I can change it to the alert popup if you want Hi, You can play a bit More

$88 AUD in 3 days
(106 Reviews)

hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting f More

$100 AUD in 0 days
(129 Reviews)

hi boss.. instead of shows alert, how about disabling the past date. see this screenshoot: [url removed, login to view] and i think arriving date minimum should be departing date plus preveously select More

$55 AUD in 0 days
(17 Reviews)

Hello, I Can start working right now and finish it as soon as possible, please contact me so we can talk. Thanks

$244 AUD in 3 days
(11 Reviews)

Hi Dependance on the datepickers used, we can restrict the input based on a certain date ( in this case Arriva-ellende dat which cannot be earlier than departure date) I can also write a piece of code which does this More

$100 AUD in 3 days
(44 Reviews)

A proposal has not yet been provided

$67 AUD in 4 days
(23 Reviews)

hello, i have more then 6 year experience in this field have a look tomy reviews ready to start now thanks

$177 AUD in 3 days
(16 Reviews)

Hey Have done a lot of validation work here on [url removed, login to view] start now. Pls check my feedback Thanks Vish

$100 AUD in 3 days
(18 Reviews)

Hi there, My name is Momin. I’ve read your brief and can see that I’d like to do this task. My team has 7 years experience designing and developing. I would approach your project by starting with wireframes More

$150 AUD in 3 days
(19 Reviews)

sir pm me im good in javascript i can fix this ... sir pm me im good in javascript i can fix this ...

$70 AUD in 0 days
(23 Reviews)

Hello. You know: date picker allows to set minimal date to choose. So I recomend to disallow past dates. Also it's possible to disallow arriving dates less then departing date or/and to disallow departing date more the More

$60 AUD in 2 days
(6 Reviews)
$40 AUD in 0 days
(36 Reviews)

Hi, i can start ur work right now and can complete with the deadline what i have given to u. Please check review which is the most efficient way to judge me on [url removed, login to view]

$66 AUD in 1 day
(8 Reviews)

I can do it right now, I have experience in Javascript - PHP - Mysql - HTML. I am interested in this project. Thanks

$80 AUD in 1 day
(20 Reviews)

I have 5 years of web development experience in angularjs, MVC framework, jquery, JavaScript, Ajax , SQL server, C# , VB.NET, mongodb I have mongodb certification as well [url removed, login to view] More

$32 AUD in 0 days
(2 Reviews)

Hello, I can provide this within only 1 hour, and I am available to start now. I have the required experience for this task. Regards, Moustafa

$45 AUD in 1 day
(15 Reviews)

I am experienced php developer and web designer with the depth knowledge related to MySQL,MSSQL,JSON,JAVASCRIPT,AJAX,XML,jQuery,CSS,HTML5,Material Designing with the integration of web technologies. I have worked as More

$55 AUD in 1 day
(12 Reviews)
$155 AUD in 3 days
(2 Reviews)