Millisecond Forums

RadioButton Question with Speech Marks

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

By smile_its_zoe - 4/9/2017

Hi All, 

I am trying to produce a grammer questionaire that includes radiobutton questions, however part of the caption/question includes quotation marks which is recognised as coding. Is there a way to get around this?

For Example-

<radiobuttons Grammar13>
/ caption = "13). Which of these direct speech sentences is punctuated correctly?~n"
/ options=("  "Please pass the pepper" said Fred     ", "  "Please pass the pepper," said Fred     ", "  "Please pass the pepper", said Fred  ", "  "Please pass the pepper. said Fred  ",)
/ orientation=horizontal
/ optionvalues = ("1", "2", "3","4")
/ position = (20, 35)
</radiobuttons>

The above question isn't valid because of the additional quotation marks i need within the text....

Kind Regards

Zoe
By Dave - 4/9/2017

smile_its_zoe - Monday, April 10, 2017
Hi All, 

I am trying to produce a grammer questionaire that includes radiobutton questions, however part of the caption/question includes quotation marks which is recognised as coding. Is there a way to get around this?

For Example-

<radiobuttons Grammar13>
/ caption = "13). Which of these direct speech sentences is punctuated correctly?~n"
/ options=("  "Please pass the pepper" said Fred     ", "  "Please pass the pepper," said Fred     ", "  "Please pass the pepper", said Fred  ", "  "Please pass the pepper. said Fred  ",)
/ orientation=horizontal
/ optionvalues = ("1", "2", "3","4")
/ position = (20, 35)
</radiobuttons>

The above question isn't valid because of the additional quotation marks i need within the text....

Kind Regards

Zoe

You need to escape the quotation marks as in

/ options=("  ~"Please pass the pepper~" said Fred     ",...)
By smile_its_zoe - 4/9/2017

Dave - Monday, April 10, 2017
smile_its_zoe - Monday, April 10, 2017
Hi All, 

I am trying to produce a grammer questionaire that includes radiobutton questions, however part of the caption/question includes quotation marks which is recognised as coding. Is there a way to get around this?

For Example-

<radiobuttons Grammar13>
/ caption = "13). Which of these direct speech sentences is punctuated correctly?~n"
/ options=("  "Please pass the pepper" said Fred     ", "  "Please pass the pepper," said Fred     ", "  "Please pass the pepper", said Fred  ", "  "Please pass the pepper. said Fred  ",)
/ orientation=horizontal
/ optionvalues = ("1", "2", "3","4")
/ position = (20, 35)
</radiobuttons>

The above question isn't valid because of the additional quotation marks i need within the text....

Kind Regards

Zoe

You need to escape the quotation marks as in

/ options=("  ~"Please pass the pepper~" said Fred     ",...)

Perfect...thanks!!