Other items of the surveypage disappear when the participant try to move forward without filling the...


Other items of the surveypage disappear when the participant try to...
Author
Message
c0sm0s
c0sm0s
Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)Associate Member (189 reputation)
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>


Attachments
problem.iqx (304 views, 982 bytes)
Edited 5 Years Ago by c0sm0s
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
c0sm0s - 5 Years Ago
Dave - 5 Years Ago
c0sm0s - 5 Years Ago
                 + x [quote] [b] c0sm0s - 11/12/2019 [/b] + x...
c0sm0s - 5 Years Ago
                     + x [quote] [b] c0sm0s - 11/12/2019 [/b] + x...
c0sm0s - 5 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search