Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

JavaScript to change border color when the field value is changed from previously entered value

New Here ,
Oct 26, 2016 Oct 26, 2016

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
279
Translate
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
no replies

Have something to add?

Join the conversation