Forums | Mahara Community
Adding Form elements in HTML
13 June 2013, 11:31 PM
I want to add in some form elements to a text box to create a checklist
I used some simple form HTML elements
input type="checkbox" name="Updates" value="Yes" Tick here to receive emails about my progress
(I've removed the < >)
It shows up perfectly in the "Configure" view but when I press Save the box it disappears.
I have tried it in an HTML box and thet elements dont appear either.
Can anyone help?
14 June 2013, 12:40 AM
Not sure this is possible, if I remember a previous thread correctly.
You may also want to look at Gregor's Survey plug-in.
14 June 2013, 1:24 AM
I won't be possible. Before displaying the box content, Mahara sends it to a filter (htmlpurifier) which "cleans" the code. And, among other things, forms are wiped up.
It is also the same with html file you would upload and display with the html block type.
I think you can create a form on Google Docs and use it in Mahara, if it helps.
14 June 2013, 2:49 AM
Thank you both for your swift, kind and detailed replies.
The Google Form is a good alternative and I will have a look at Gregor's survey plugin too.
Great teamwork :O)
14 June 2013, 4:34 AM
Survey plugin can absolutely do that - you can create simple forms.
I'm planning on updating that plugin in next month or two.
If you have further questions feel free to contact me: gregor dor anzelj at gmail dot com