Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a quick script for comparing start and end two dates and ensuring that the end date one is larger than the start dateother.

Type the following script in the Custom HTML element in your form and amend the form field name accordingly. Our example below shows a reading from the fields "start_date" and "end_date".

...