Millisecond Forums

Response required

https://forums.millisecond.com/Topic29664.aspx

By S.Weber - 9/2/2020

Hello,
I hope someone can help me.
The paticipants of my questionnaire are required to answer all questions. I want the question to appear in red if an answer was omitted.
I have already done a questionnaire where this was the case. Unfortunately I cannot reconstruct what I did differently. Could you please be so kind and take a look what I need to change?

Thank you so mich for your help!

<surveypage 2>
/ questions = [1=2a; 2=2b; 3=2c; 4=2d; 5=2e; 6=2f; 7=2g; 8=2h; 9=2i; 10=2j; 11=2k; 12=2l; 13=2m; 14=2n; 15=2o; 16=2p; 17=2q; 18=2r]
/ showquestionnumbers = false
/ showpagenumbers = false
/ responsefontstyle = ("Arial", 3%)
/ txcolor = (0, 0, 0)
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (90%, 90%)
/ backbuttonposition = (80%, 90%)
/ nextlabel = "weiter"
/ backlabel = "zurück"
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
/ stimulusframes = [1 = progressbar]
/ ontrialbegin = [values.currentpage = values.currentpage+1]
</surveypage>

<caption 2a>
/ caption = "Dauer Ihrer Inhaftierung insgesamt:"
/ position = (10%, 10%)
/ fontstyle = ("Arial", 3%)
</caption>

<textbox 2b>
/ minchars = 1
/ maxchars = 3
/ multiline = false
/ textboxsize = (9%, 5%)
/ position = (10%, 17%)
/ mask = positiveintegerorzero
/required = true
</textbox>
By Dave - 9/2/2020

S.Weber - 9/2/2020
Hello,
I hope someone can help me.
The paticipants of my questionnaire are required to answer all questions. I want the question to appear in red if an answer was omitted.
I have already done a questionnaire where this was the case. Unfortunately I cannot reconstruct what I did differently. Could you please be so kind and take a look what I need to change?

Thank you so mich for your help!

<surveypage 2>
/ questions = [1=2a; 2=2b; 3=2c; 4=2d; 5=2e; 6=2f; 7=2g; 8=2h; 9=2i; 10=2j; 11=2k; 12=2l; 13=2m; 14=2n; 15=2o; 16=2p; 17=2q; 18=2r]
/ showquestionnumbers = false
/ showpagenumbers = false
/ responsefontstyle = ("Arial", 3%)
/ txcolor = (0, 0, 0)
/showpagenumbers = false
/showquestionnumbers = false
/ nextbuttonposition = (90%, 90%)
/ backbuttonposition = (80%, 90%)
/ nextlabel = "weiter"
/ backlabel = "zurück"
/ ontrialbegin = [shape.progressbar.width=80%*(values.currentpage/values.npages)]
/ stimulusframes = [1 = progressbar]
/ ontrialbegin = [values.currentpage = values.currentpage+1]
</surveypage>

<caption 2a>
/ caption = "Dauer Ihrer Inhaftierung insgesamt:"
/ position = (10%, 10%)
/ fontstyle = ("Arial", 3%)
</caption>

<textbox 2b>
/ minchars = 1
/ maxchars = 3
/ multiline = false
/ textboxsize = (9%, 5%)
/ position = (10%, 17%)
/ mask = positiveintegerorzero
/required = true
</textbox>

What "turns red" is a question's /caption. Your <textbox> elements don't have /caption attributes specified, so there isn't anything that could turn red. The separate <caption> elements cannot be made to turn red in the event of a non-respponse, they're not technically connected to the respective question.