HTML Code

Mehr
4 Jahre 1 Monat her #97055 von Unullielf
Unullielf erstellte das Thema HTML Code
I need to create an answer template as shown in attachment, I am selecting the List(radio) button as Question type and inserting the HTML code in the answers section. I have following two problems:

1. The Radio Button is appearing along side the HTML table. Please refer to screen shot.
2. The answers are not recorded in the statistics.

The HTML code I used is a follows:

<table border="1" cellpadding="2">
<tbody>
<tr>
<td style="text-align: center;">
<b>Really True for me </b></td>
<td style="text-align: center;">
<b>Sort of True for me </b></td>
<td>
 </td>
<td>
 </td>
<td>
 </td>
<td style="text-align: center;">
<b>Sort of True for me </b></td>
<td style="text-align: center;">
<b>Really True for me </b></td>
</tr>
<tr>
<td style="text-align: center;">
<input name="0" type="radio" value="0" /></td>
<td style="text-align: center;">
<input name="0" type="radio" value="0" /></td>
<td>
Some kids would rather play outdoors in their spare time.</td>
<td style="text-align: center;">
BUT</td>
<td>
Other kids would rather watch T.V. </td>
<td style="text-align: center;">
<input name="0" type="radio" value="0" /></td>
<td style="text-align: center;">
<input name="0" type="radio" value="0" /></td>
</tr>
</tbody>
</table>
<p>
 </p>


Kindly assist.
Anhang:

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 1 Monat her #97094 von tpartner
tpartner antwortete auf das Thema: HTML Code
You can't just arbitrarily add radio buttons to the form.

You will need to define the buttons as answers in LimeSurvey and then use JavaScript/jQuery to generate the table HTML and move those buttons into the appropriate positions.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 1 Monat her - 4 Jahre 1 Monat her #97096 von Unullielf
Unullielf antwortete auf das Thema: HTML Code
Thanks for your reply.

Could you please help me where I can find the information regarding the code to be written. I did try looking up in the manual but could not find it.


I am using the hosted LimeSurvey Professional (previously LimeService). I have not downloaded the limesurvey.
Paul
Letzte Änderung: 4 Jahre 1 Monat her von Unullielf.

Bitte Anmelden um der Konversation beizutretten.

Mehr
4 Jahre 1 Monat her #97097 von tpartner
tpartner antwortete auf das Thema: HTML Code
You can find tips on how to insert JavaScript here - manual.limesurvey.org/Workarounds:_Manip...ime_using_Javascript


jQuery info here - jquery.com/

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Bitte Anmelden um der Konversation beizutretten.

Haben Sie schon bei unserer Kundenumfrage mitgemacht?

Verpassen Sie nicht Ihre Chance auf tolle Preise.

Klicken sie hier um teilzunehmen:

Jetzt starten

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten