Lock fields & auto fill date on digital signature

New Here ,
Oct 29, 2021 Oct 29, 2021

Copy link to clipboard

Copied

Hey, so I was trying to find out of it was possible to both lock specific fields and run a Javascript code to auto populate a "date signed" field ( this.getField("Date").value = util.printd("yyyymmdd", new Date()); )? I've gotten auto dates running fine and lock fields running fine separately, but in the tool tip they are mutually exclusive radial options. Is there a way to do both?

TOPICS
How to

Views

135

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
community guidelines
New Here ,
Aug 05, 2022 Aug 05, 2022

Copy link to clipboard

Copied

I'm trying to accomplish the same thing. Did you ever figure it out?

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
community guidelines
Adobe Community Professional ,
Aug 05, 2022 Aug 05, 2022

Copy link to clipboard

Copied

LATEST

You can "lock" a field using the script, yes. Use the following command:

this.getField("FieldName").readonly = true;

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
community guidelines