Conditional Formatting with a special character
Hi,
I am trying to highlight form fields in a pdf if the data in the field contains an asterisk before the number, for example "*8.596" may be in the field. I have searched through multiple threads in this community and feel like maybe I am close, but it is not working. With the asterisk being a special character, I added the backspace.I am not getting an error, it is just not highlighting the field. Right now I am using this:
if (event.value=="\**") event.target.fillColor = color.yellow;
else event.target.fillColor = color.transparent;
Any suggestions on what I am doing wrong?
