Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using Wufoo form service


Go to End


1673 Views

Avatar
webmmsd

Community Member, 10 Posts

13 November 2010 at 9:59am

Wanting to use the form service Wufoo.com (it's just the simplest way to get what I want, plus the reports I need). Form works great when on the wufoo site but when I want to embed the form on my site, silverstrip strips out the code after copying it into the editor. How can I get this code onto a page?

Here is the code Wufoo gives me to paste into my page:

<script type="text/javascript">var host = (("https:" == document.location.protocol) ? "https://secure." : "http://");document.write(unescape("%3Cscript src='" + host + "wufoo.com/scripts/embed/form.js' type='text/javascript'%3E%3C/script%3E"));</script>

<script type="text/javascript">
var q7x3s5 = new WufooForm();
q7x3s5.initialize({
'userName':'test',
'formHash':'q7x3s5',
'autoResize':true,
'height':'1055',
'ssl':true});
q7x3s5.display();
</script>

Thanks
Alex