Forums | Mahara Community
Developers
/
Adding Form elements in HTML
13 June 2013, 23:31
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?
Thanks, Gid
14 June 2013, 0:40
Hi Gideon:
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
Hello,
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.
Regards,
-dajan
14 June 2013, 2:49
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)
Gideon
14 June 2013, 4:34
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
HTH, Gregor