PFA the simplified code for my problem.
Basically I have a stimulusframe and a textbook in my surveypage.
Response is required in the textbox.
When the user tries to move forward by clicking next without filling the textbook, the stimulus frame disappears. I want to retain the screen until the textbook is filled.
Please tell me the a solution which will require the least change in my script.
PS - Save any dummy pic named "anypic.png" in the same folder as this iqx to run the script.
/ items = ("anypic.png")
/size = (50%,50%)
/ vposition = 30
/ valign = Center
/ price = 100
/ items = ("The quoted price for this painting is <% values.price %>.")
/ position = (10%, 60%)
/ halign = left
/ fontstyle = ("Arial", 3%, false) </text>
/ caption = "If you wanted to buy this painting, what amount would you offer (in dollars) for this painting?"
/ responsefontstyle = ("Arial", 2%, false)
/ position = (10%, 75%)
/ fontstyle = ("Arial", 3%, false) </textbox>
/ caption = ""
/ fontstyle = ("Arial", 3%, false)
/ questions = [1=reader]
/ stimulusframes = [1=anypic;2=variable_text]
/ itemspacing = 0.5%
/ showquestionnumbers = false
/ nextbuttonposition = (90%, 90%)
/ showbackbutton = false </surveypage>
/pages = [1=readerpage]
/screencolor = white
/txcolor = black
/ blocks = [1=bid]