| 
	Group: Forum MembersPosts: 53, 
    Visits: 147
 
 | 
                    
			            Hi Dave,
 I have the following script:
 ...
 radiobuttons question1>
 / caption = "Blablabla?~n"
 / options = ("yes","no")
 </radiobuttons>
 
 <textbox question2>
 / caption = "In case you answered yes to question1, please explain in the following textblock."
 / textboxsize = (80%, 22%)
 / multiline = true
 / maxchars = 500
 </textbox>
 
 <surveypage questions>
 / fontstyle = ("Arial", -16, true, false, false, false, 5, 0)
 / questions = [1=question1; 2=question2]
 / showpagenumbers = false
 / nextlabel = "continue"
 </surveypage>
 ...
 
 I want answers to question2 only to be required, if question1 was answered with yes. Is there a if-then-condition for the required attribute? I don`t think, I will need a branch for that.
 
 Thanks in advance!
 M.
 
 
 
 
 |