Compare and validate dates in a form

New Here ,
Nov 27, 2017

Copy link to clipboard

Copied

Hi,

I am not sure if I am going to able to explain this very clearly.

I have 2 dates in a form

A request date and a Due date. I want the form to make sure the due date is after the request date, and put an error message if it isn't

Any Ideas?

Thanks

Sally

TOPICS
Acrobat SDK and JavaScript, Windows

Views

124

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Compare and validate dates in a form

New Here ,
Nov 27, 2017

Copy link to clipboard

Copied

Hi,

I am not sure if I am going to able to explain this very clearly.

I have 2 dates in a form

A request date and a Due date. I want the form to make sure the due date is after the request date, and put an error message if it isn't

Any Ideas?

Thanks

Sally

TOPICS
Acrobat SDK and JavaScript, Windows

Views

125

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 27, 2017 0
Adobe Employee ,
Feb 13, 2018

Copy link to clipboard

Copied

Hi Sally,

I hope you already have found a solution to this query.

There is no default/inbuilt option to make such comparison. However, i think this can be achieved using JavaScript.

Please wait for more inputs from JavaScript Expert users.

-Tariq Dar

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0
try67 LATEST
Most Valuable Participant ,
Feb 13, 2018

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0