Hi! As you know I make TiddlywikiShop witch work without server part (PHP 
or Node.js don't need on server) My shop is static. So one problem I cant 
solve is sending e-mails from static site. The only way was to use external 
free services for sending. That is why I use mandrill for sending orders 
(free limit 2000 letters per month)  . But very soon mandrill will stop 
free accounts, and I  was very sad.

The new way to send emails (notify to shop and client) is google forms. But 
clients are not ought to put information (order number, prices and so 
on) directly to this form. I write a small js script. it takes values from 
$edit-text and put them to google invisible form. You can can make test 
order here http://novye-podarki.ru/heeg.html#hot and your order will in one 
second appear in this table (it is connected with form) 
https://docs.google.com/spreadsheets/d/1tkOhPUj7KpdrTNHu3Zd1qPfNrGgyp1SLDRi7-8iBlQ0/edit#gid=996316560

the simple way to get google form without iframe is to send it yourself to 
e-mail, and copy it from DOM tree here finish result 
http://novye-podarki.ru/heeg.html#google_form    . it is nessery to modify 
code in two places 

<iframe name="my_iframe" style="display:none;"></iframe>  (this line we use 
not to go to google page after submitting form)
<form action="
https://docs.google.com/forms/d/1D4cho-vxcDc-pnLhhMSODcHMfOoc6Om9vtO9iIjsbkc/formResponse";
 
method="POST" target="my_iframe" >

AND delete "name" here to get this result

<input type="submit" value="Готово">


-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8419438-351e-42af-a58c-f3d0b4350951%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to