javascript - jQuery validation engine js daterange custom function needed -


am using following validation plugin: https://github.com/posabsolute/jquery-validation-engine

i have 2 fields start date , end date.

i want start date choose future/past dates. however, want end date compare start date , should able choose same date , future dates based on start date.

so, if select start date march 12,2014 end date should able choose same date march 12,2014 , future dates march 12,2014.

so, used below code validate:

<input type="text" class="validate[required,daterange[grp1],custom[date] text-input datepicker"   name="daterange" id="start_date" value=""> <input type="text" class="validate[required,daterange[grp1],custom[date] text-input datepicker" name="daterange" id="end_date" value=""> 

however, above code not validating same day.

also done methods in following link https://stackoverflow.com/questions/22339338/start-and-end-date-validation-using-jquery-validation-engine-js . however, nothing worked me??


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -