0
JavaScript to change border color when the field value is changed from previously entered value
New Here
,
/t5/acrobat-sdk-discussions/javascript-to-change-border-color-when-the-field-value-is-changed-from-previously-entered-value/td-p/8653058
Oct 26, 2016
Oct 26, 2016
Copy link to clipboard
Copied
JavaScript to change border color when the field value is changed from previously entered value.
var a=this.getField("Loss History")
var b=this.getField("Type") this is a checkbox with export value "Amend"
Scenario: On renewal the value of this field is $30. Midterm the user changes the value to $17 (change border color).
if(b.value=="Amend") and the user changes whatever value is currently in a.value, then I want the border color to change to show what had changed on the form.
TOPICS
Acrobat SDK and JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

