I have 3 variable in my html:
- Start Date (text input) - <input size="16" name="start_date" type="text" class="m-wrap">
- End Date (text input) - <input size="16" name="end_date" type="text" class="m-wrap">
- Frequency (dropdown) - <select class="span3 chosen" name="summarize" tabindex="1"> <option value="1">15 minutes</option> <option value="2">30 minutes</option> <option value="3">1 hour</option> <option value="4">3 hours</option> </select>
I would like to have validation input between 3 variable using jquery that, if diff(start_date and end_date) > 3 month, summarize can be used only value >= 1 hour (value 3 and 4). All this variable in id=Form_1.
How can i make this validation ? Any sample code will be appreciated.
 
     
     
     
    