Expand my Community achievements bar.

Change TextBox Visibilty or Appearance

Avatar

Level 6

I have a series of questions that a user is required to enter a numeric score.  Based upon the score, a level of low, medium or high is assigned.

For example, when the score is 7 or 8, that corresponds to "High".  What I'm trying to accomplish is having the score trigger a solid border to appear around the corresponding text box.  I tried layering a second "hidden" text box with a solid border over the "HIGH" text box and using:

on the "change" event of the calculated textfield

if(this.rawValue=7,8)
textbox1.presence="visible";

Another option would be to use grey text for Low, Medium, and High and based upon the score, use a script to turn the text color to black.

1 Reply

Avatar

Level 6

Resolved this!  I was confusing "vhange" with "validate"