Difference between revisions of ":Google Form"

From Code4Lib
Jump to: navigation, search
(Created page with "<noinclude>__NOTOC__ This widget allows you to add '''[http://documents.google.com/support/spreadsheets/bin/answer.py?hl=en&answer=87809 Google Spreadsheet Forms]''' to your w...")
 
 
Line 29: Line 29:
 
|height=750
 
|height=750
 
}}
 
}}
</noinclude><includeonly><iframe src="http://spreadsheets.google.com/embeddedform?key=<!--{$key|escape:'urlpathinfo'}-->" width="<!--{$width|escape:'html'|default:300}-->" height="<!--{$height|escape:'html'|default:400}-->" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>
+
</noinclude><includeonly><iframe src="https://docs.google.com/forms/d/<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" width="<!--{$width|escape:'html'|default:300}-->" height="<!--{$height|escape:'html'|default:400}-->" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>

Latest revision as of 17:23, 14 July 2015

This widget allows you to add Google Spreadsheet Forms to your wiki page.

It was originally created by Sergey Chernyshev for Semantic Communities LLC.

To insert this widget, use the following code:

{{#widget:Google Form
|key=po-s58YMwf85Q3UxRzdGOBw
|width=600
|height=750
}}

Parameters

  • key - key parameter in emailing/embedding URL
  • width and height define form dimensions, 300x400 is default, but you might want to copy it from embed code since size depends on fields you have

Template:Copy to your site

Related widgets

Sample result

{{#widget:Google Form |key=po-s58YMwf85Q3UxRzdGOBw |width=600 |height=750 }}