Copy link to clipboard
Copied
Hello,
I am creating a form where I have text fields that I want the text color to change when the number entered is > 9, = 10 or more and <20. I have tried other scripts shown in the help forum but those didn't work see below
if(event.value <= 9){
event.target.textColor = color.black;}
else if (event.value == 10){
event.target.textColor = color.yellow;}
else if(event.value >= 11){
event.target.textColor = color.red;}
Copy link to clipboard
Copied
Please post the exact name of the Adobe program you use so a Moderator may move this message to that forum
When you ask a question you always need to provide some basic information
-Forum quick start https://community.adobe.com/t5/Community-Help/ASK-Forum-Success-Guide-Efficiently-using-the-forums/t...
-https://community.adobe.com/t5/Get-Started/Questions-you-need-to-answer-to-receive-better-help/td-p/...
-https://community.adobe.com/t5/get-started/how-to-post-and-get-your-issue-resolved-or-what-do-you-ne...
Copy link to clipboard
Copied
Adobe Acrobat DC