Help with script to change value based on date field.

New Here ,
May 14, 2019

Copy link to clipboard

Copied

var tot1 = this.getField("60Pg1Sum").value
var date60 = this.getfield("60DaysReady").value

if (date60 == "") event.value="666";
else event.value=tot1;

Altered title to make it more readable - edited by: Malcolm Thomson

TOPICS
Acrobat SDK and JavaScript, Windows

Views

56

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

Help with script to change value based on date field.

New Here ,
May 14, 2019

Copy link to clipboard

Copied

var tot1 = this.getField("60Pg1Sum").value
var date60 = this.getfield("60DaysReady").value

if (date60 == "") event.value="666";
else event.value=tot1;

Altered title to make it more readable - edited by: Malcolm Thomson

TOPICS
Acrobat SDK and JavaScript, Windows

Views

57

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
May 14, 2019 0
try67 LATEST
Most Valuable Participant ,
May 14, 2019

Copy link to clipboard

Copied

Check the JS Console. You have an error in your code and it should report it...

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...
May 14, 2019 0