MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Embedding CDF in a Google Spreadsheet Form

  • To: mathgroup at
  • Subject: [mg132303] Re: Embedding CDF in a Google Spreadsheet Form
  • From: Kyle Keane <kylek at>
  • Date: Wed, 5 Feb 2014 03:25:29 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Hi All,

This is a reply to an older post that just came across my radar about
combining Google Forms with embedded CDFs.

Here is a link to the original message:
Embedding CDF in a Google Spreadsheet Form 

I am not sure if there have been any developments on this. If so, please
update us. 

As you all likely know, both Google Forms and CDFs can either be deployed
as a standalone webpage or as an embedded object in a webpage using the
respective deployment wizards. It sounds like you were trying to edit the
source code for the standalone webpage of the Google Form, this seems like
a more complex solution to me. I would use the embed codes on a simple

You can place the embed codes from the Google Form and CDF into a simple
.html file (the code for a simple webpage that does this is pasted below).
Does this do what you want? If yes, then awesome. If no, then please
explain what other functionality would be useful or what you are looking

Example webpage (take this code and save it as an html file and open it):
<h1>A very simple webpage :)</h1> 
<p>Here is an embedded CDF using the embed code provided on the
Demonstrations website or given through the export function in

<script type='text/javascript'
></script><script type='text/javascript'>var demoObj = new DEMOEMBED();'TreeBender', '', '525', '551');</script><div
id='DEMO_TreeBender'><a class='demonstrationHyperlink'
href='' target='_blank'>Tree
Bender</a> from the <a class='demonstrationHyperlink'
href='' target='_blank'>Wolfram
Demonstrations Project</a> by Theodore Gray</div><br />   

<p>Here is an embedded Google form using their embed code from the share
form button.</p>   

sTujOfI/viewform?embedded=true" width="760" height="500" frameborder="0"
marginheight="0" marginwidth="0">Loading...</iframe>   


Kyle Keane, PhD
Research Programmer 
Education Software Technology
Wolfram Research Incorporated
217-398-0700 ext. 5220
This message and any attachments may contain confidential or privileged
information. If you are not the intended recipient please destroy and
notify the sender. Message and attachments copyright C 2014, all rights
reserved. Any unauthorized dissemination, distribution or copying is
strictly forbidden.

  • Prev by Date: Re: Learning to Program in Mathematica
  • Next by Date: Memory leaks problem
  • Previous by thread: Re: Problem in solving differential eqn by DSolve
  • Next by thread: Re: Embedding CDF in a Google Spreadsheet Form