Hello again!,
Have a new problem. I am trying to figure out how to apply conditional formats in FormCalc. I have a basic understanding of how it works and i sorta got waht i wanted, however it needs some work.
Basically what I have is a form that needs a certain fields to become read only (and in the case of my text fields also become filled with a gray colour (187, 187, 217). How ever i need the formatting to be dynamic so if the person filling out the form changes their mind after making the selection and goes back and checks a selection that will open the fields it reverts back to "Open" and the white color.
Here is what I have been able to figure out on my own:
This is the change event FormCalcScript for TextField1
if (RadioButtonSubgroup1 == 4) then
Textfield1.format="readOnly" else
Textfield1.format="open"
endif
I think thats the script i figured out, I don't have it in front of me so let me know if i errored.
Would i have to do another if string to add the fill colour and is this the indeed right way to go about doing something like this. The problem results when i go back and either un-select my radio button or change it to another selection it doesn't revert back to the original format.
Any assitance would be greatly appreciated! Thanks again!
if (RadioButtonSubgroup1 == 4) then
Textfield1.access="readOnly" else
Textfield1.access="open"
endif
also I have scome scripting behind some of the radio button fields that enables them to be unselcted and I think this is getting in the way of the if statement. Also I have applied this script to the Subgroup of the radio buttons and no the buttons them selves.