Forums | Mahara Community

Support /
html editor


Orla Daly's profile picture
Posts: 3

05 September 2012, 5:34

Hi,

I want to add a text box with the following in it:

<p>Please indicate your current level of achievement for Assessment 1</p>
<form><input type="radio" name="achievement" value="Novice" /> Novice<br /> <input type="radio" name="sex" value="Advanced Beginner" /> Advanced Beginner<br /> <input type="radio" name="achievement" value="Competent" /> Competent</form>

The radio buttons appear until I click on Save and then they disappear.  Is it possible to add radio buttons like this?

Any help appreciated

Orla

Kristina Hoeppner's profile picture
Posts: 4866

06 September 2012, 5:01

Hello Orla,

I'm afraid that the form code is stripped out of the edit by HTML Purifier.

You could embed a form, e.g. Google form, via an allowed iFrame. You can allow an iFrame relatively easily in Mahara 1.5 ( http://manual.mahara.org/en/1.5/site_admin/extensions.html#new15-safeiframe-feature-of-html-purifier ) or even easier in Mahara 1.6 (not yet released).

Cheers

Kristina

Orla Daly's profile picture
Posts: 3

06 September 2012, 8:25

Thanks - will have a look.

Orla

3 results