Conditionally display a field
I would like to show a field based on the value of a user variable set with just a bit of JavaScript. A copy of the field would be included on each question slide in a quiz. The field would contain a reference for the question. So if my user var = 1, the field will appear automatically on each slide where it exists. If my user var is not equal to 1, the field will remain hidden.
I don't seem to be able to associate any actions with a standard field object so does anyone have a suggestion describing how I might go about achieving this behavior?
Must I a use an advanced action on each page? If that is the case, then each page must have its own customized copy of the advanced action to refer to each uniquely named field throughout the quiz. That is my current assumption because I haven't discovered any way to make actions generic so logic in the advanced action would apply an object based on a generic reference to something like "my" or "this".
Thanks,
Pete
