Group: Forum Members
Posts: 6,
Visits: 133
|
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.
<picture anypic> / items = ("anypic.png") /size = (50%,50%) / vposition = 30 / valign = Center </picture>
<values> / price = 100 </values>
<text variable_text> / items = ("The quoted price for this painting is <% values.price %>.") / position = (10%, 60%) / halign = left / fontstyle = ("Arial", 3%, false) </text>
<textbox reader> / 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>
<surveypage readerpage> / 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>
<survey bid> /pages = [1=readerpage] /screencolor = white /txcolor = black </survey>
<expt bid> / blocks = [1=bid] </expt>
|