How to change background color through validation script on ipad/ios
Hello,
I am working on a form which we use for recording service visits out in the field. Form fields are drop down boxes with a range of GOOD FAIR and POOR. On the PC my custom validation script runs which changes the background color of the field depending on the selected value. This does not work on iOS devices though. Can someone help me edit the validation code to work within the restrictions of iOS Acrobat Reader App?
if (event.value=="FAIR")
event.target.fillColor = color.yellow;
else if (event.value=="POOR")
event.target.fillColor = color.red;
else if (event.value=="GOOD")
event.target.fillColor = color.green;
else event.target.fillColor = color.white;
I can't seem to find which functions are supported and which are not. I found a developer guide which suggested that event and target classes are supported, but no mention of fillColor.
Thanks!!
