ok. I am looking to do a simple verification based on what someone enters into a text field, meaning there is a "correct" and "incorrect" response. I know how to do this with JavaScript on the web, but I am having trouble translating that into a PDF form. Below is what I would do on a website to get it to work:
function check() {
var i = document.getElementById('response');
if(i.value === 'correct')
{i.style.color = 'red'}
else
{i.style.color = 'black'}
};
I would then call the function on a button press. How would I translate this for a PDF Form. Any help would be GREATLY appreciated.