1 Reply Latest reply on Jun 12, 2014 1:49 PM by George_Johnson

    Form changes noted with red text

    FatPeaches Level 1

      Hello everyone,

      I was curious if there is any Javascript to change the text color of a editable text field in a form. I will be providing a contract that has pre-filled in text fields but if the end user changes one of the fields I would like it marked red (or any other color). This way I can easily identify any changes quickly.

        • 1. Re: Form changes noted with red text
          George_Johnson MVP & Adobe Community Professional

          You can use a custom validate script with text fields that can change the color of the text, something like:


          // Custom Validate script

          event.target.textColor = color.red;



          You will want to create a routine that initializes the color of all of the text fields to black (or whatever) that you'd execute after you fill in the fields and before you send out the form.