Hi Måns!

First; I think justingale.com 
<http://justingale.com/2013/09/url-tricks-for-google-forms-pre-populate-and-automatically-submitting-responses/>
 
is where I found a lot of the critical info for this.

(BTW, In the process of building the contact form for TWaddle, I also found 
a few googledocs-for-teachers applications for this that might be of value 
for you as a teacher: here are some: link1 
<http://www.alicekeeler.com/teachertech/2014/10/02/create-a-unique-google-forms-url-for-each-student/>,
 
link2 <https://productforums.google.com/forum/#!topic/docs/IdSkKDhBgm8>, 
link3 
<https://www.synergyse.com/blog/top-10-google-apps-scripts-for-education/> )


Ok, if your question needs the steps before the "justingale" info;

I assume you've found the tiddler $:/_TWaddle/Buttons/Comment 
<http://twaddle.tiddlyspot.com/#%24%3A%2F_TWaddle%2FButtons%2FComment> . 
This is part of the viewtoolbar (i.e tagged $:/tags/ViewToolbar ). This is 
premise so that the title can be sent along to the googledoc.

The iframe is surrounded by a varswidget that takes the current tiddler 
title;

<$vars tid={{!!title}}>
<iframe src=<<googtid>> scrolling="no" frameborder="1px" overflow="hidden" 
width="550px" height="500px" >Loading iframe...</iframe>
</$vars>

...and the <<googtid>> macro, uses this "tid" as an argument into a cell in 
the spreadsheet:

\define googtid()
https:
//docs.google.com/forms/d/1wEJjx36te-VgjYfPutu0L71rO6kvIW1oC5abA9enMXQ/viewform?entry.2087188739=$(tid)$&entry.507569536?embedded=true
\end

Just to make sure theres no misunderstanding: In the resulting spreadsheet 
you get a new row for each posting people make, also if it is regarding the 
same tiddler. This is preferable, and it is merely a matter of sorting by 
name in the "tiddler title" column in the spreadsheet to get all comments 
regarding a specific tiddler.

The particular url syntax is, I assume, part of Googles API. The justingale 
link should lead you to an explanation for this.

Hope this is of help. Tell me how it works out.

<:-)


On Friday, September 25, 2015 at 3:23:11 PM UTC+2, Måns wrote:
>
> Hi Mat
>
> I almost managed to copy your message button* into my own wiki (and my own 
> google form/spreadsheet of course...) - except I haven't managed to make it 
> work pr. tiddler name yet.
> Will you please give me a hint? (or a simple step by step tutorial ;.))
>
> Cheers Måns Mårtensson
>
> *) http://twaddle.tiddlyspot.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bb1b28e4-8c82-4ab0-93f6-ecd8ccb913ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to