Skip survey header

setquestionruntimeproperty

Page One

Example Script
In the below script we set the runtime property for the question on the subsequent page based on the property selected in question 1.
flag = getvalue(2)

if flag == 'Required' then
  setquestionruntimeproperty(3,'Required',true)

elseif flag == 'Soft required' then

  setquestionruntimeproperty(3,'Soft-Required',true)

elseif (flag == 'Disabled') then

  setquestionruntimeproperty(3,'Disabled',true)

elseif (flag == 'Number') then

  setquestionruntimeproperty(3,'Number',"12.")

end

Page One

1. Which property would you like to test?