Radiobuttions


Author
Message
JuliaNo
JuliaNo
Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)
Group: Forum Members
Posts: 19, Visits: 97
Hey Dave,
I want to use radiobuttons and have people pick of 9 buttons, but not name all of them, but only the ends of it. The script below is how I did it. However, now I gave each button as a name just a bunch of spaces, and it will not give me any information in my data file (which I noticed a bit too late...). How could I use radiobuttons, so that it looks like none of the buttons are named but I still get the information which one people have clicked?

<radiobuttons EuropeIdent1_D>
/ caption = "question1~n"
/ options = ("   ", "   ", "   ", "   ", "  ", "   ", "   ", "   ", "")
/ orientation = horizontal
/ required = true
/ position = (15, 20)
</radiobuttons>

<radiobuttons EuropeIdent2_D>
/ caption = "question2.~n"
/ options = ("   ", "   ", "   ", "   ", "  ", "   ", "   ", "   ", "")
/ orientation = horizontal
/ required = true
/ position = (15, 45)
</radiobuttons>

<caption Disagreement1_D>
/ caption = "Trifft gar ~nnicht zu"
/ position = (8.5,26)
</caption>

<caption Agreement1_D>
/ caption = "Trifft voll ~nund ganz zu"
/ position = (57.5,26)
</caption>

<caption Disagreement2_D>
/ caption = "Trifft gar ~nnicht zu"
/ position = (8.5,51)
</caption>

<caption Agreement2_D>
/ caption = "Trifft voll ~nund ganz zu"
/ position = (57.5,51)
</caption>

<surveypage IdentificationEurope1_D>
/ caption = "Bitte geben Sie an, inwiefern Sie den folgenden Aussagen zustimmen."
/ questions = [1=EuropeIdent1_D; 2=EuropeIdent2_D; 3=Agreement1_D; 4=Disagreement1_D; 5=Agreement2_D; 6=Disagreement2_D]
</surveypage>

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
JuliaNo - Wednesday, April 19, 2017
Hey Dave,
I want to use radiobuttons and have people pick of 9 buttons, but not name all of them, but only the ends of it. The script below is how I did it. However, now I gave each button as a name just a bunch of spaces, and it will not give me any information in my data file (which I noticed a bit too late...). How could I use radiobuttons, so that it looks like none of the buttons are named but I still get the information which one people have clicked?

<radiobuttons EuropeIdent1_D>
/ caption = "question1~n"
/ options = ("   ", "   ", "   ", "   ", "  ", "   ", "   ", "   ", "")
/ orientation = horizontal
/ required = true
/ position = (15, 20)
</radiobuttons>

<radiobuttons EuropeIdent2_D>
/ caption = "question2.~n"
/ options = ("   ", "   ", "   ", "   ", "  ", "   ", "   ", "   ", "")
/ orientation = horizontal
/ required = true
/ position = (15, 45)
</radiobuttons>

<caption Disagreement1_D>
/ caption = "Trifft gar ~nnicht zu"
/ position = (8.5,26)
</caption>

<caption Agreement1_D>
/ caption = "Trifft voll ~nund ganz zu"
/ position = (57.5,26)
</caption>

<caption Disagreement2_D>
/ caption = "Trifft gar ~nnicht zu"
/ position = (8.5,51)
</caption>

<caption Agreement2_D>
/ caption = "Trifft voll ~nund ganz zu"
/ position = (57.5,51)
</caption>

<surveypage IdentificationEurope1_D>
/ caption = "Bitte geben Sie an, inwiefern Sie den folgenden Aussagen zustimmen."
/ questions = [1=EuropeIdent1_D; 2=EuropeIdent2_D; 3=Agreement1_D; 4=Disagreement1_D; 5=Agreement2_D; 6=Disagreement2_D]
</surveypage>

You need to define /optionvalues in addition.

<radiobuttons EuropeIdent1_D>
/ caption = "question1~n"
/ options = ("   ", "   ", "   ", "   ", "  ", "   ", "   ", "   ", "  ")
/ optionvalues = ("1", "2", "3 ", "4 ", "5", "6", "7", "8", "9")
/ orientation = horizontal
/ required = true
/ position = (15, 20)
</radiobuttons>
JuliaNo
JuliaNo
Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)Esteemed Member (1.8K reputation)
Group: Forum Members
Posts: 19, Visits: 97
Rigth... Thank you!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search