JavaScript validation for from date and to date

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mahalasa kini
    New Member
    • Sep 2012
    • 1

    JavaScript validation for from date and to date

    Create a page with fields ‘From Date’ and ‘To Date’. Validate the form using JS such that –
    ‘From date’ is always less than ‘to date’.
    ‘To date’ should not be greater than current date.
    Display 1 date of the current month in ‘from date’ field
    Default date should to populated for ‘to date’ field
    Otherwise display suitable error Message.
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    You should first show your code, what you wrote. If there is any error, experts will help you to make you understand the error in your code.

    Thanks

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      what have you tried?

      Comment

      Working...