Forums | Mahara Community

Developers /
Adding Form elements in HTML


Gideon Williams's profile picture
Posts: 108

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?

Thanks, Gid

Don Presant's profile picture
Posts: 255

14 June 2013, 12:40 AM

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 AM

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

Gideon Williams's profile picture
Posts: 108

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)

Gideon

Gregor Anželj's profile picture
Posts: 348

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

 

HTH, Gregor

5 results