Hi everyone, today one of a thunker asked me about ''How can we upload/send response/data to Google Forms and then to Google Spreadsheet" So i have played with the codes and come up with the solution of this query⌠and trust me itâs very easy to do that. If you want to know the complete process with step-by-step explanation. Click here to read the complete blog.
Else here is some screenshot and shot description to understand, How you can do that tooâŚ
Now i have taken Action URL and entry codes from the source code of this form, to do that
After creating form i have previewed it by clicking the eye button [ Given at the top right corner next to gear icon ]
Now i open the source codes of this form by pressing ctrl+u on my keyboard.
And search box by pressing ctrl+f on the form source code tab
Now i found the form action url by typing form action in the search box and pasted this url in the Set URL block [ API Component, which i named as Google_Form ]
Now i have searched entry in the same search box and got the 3 entry codes and pasted it in the QueryParameter block of the API component⌠here as you can see in the below image i have used object block and created entry fields⌠this is required for sending data/response to the google form.
You can also use this method to save user data on your Google Spreadsheet. How? Itâs also very easy go to the response section of your google from and click on the spreadsheet icon. A spreadsheet get created by your form were data get reflected each time the form get submitted.
Can I use it to post values to php script as i can do with the web component of appinventor?
I got empty value when calling $_POST[âentryâ];
This will be useful when sending values to mysql database. Please help.
Hi, do you know how can I delete rows in a google sheet using the webAPI in thunkable X? The google spreadsheets extension dont work for thunkable X and I couldnt find an alternative. Thanks
Yup you can use AppScript to create a web-hook, So that you can setup acommunication between your app and spreadsheet⌠After that you can delete any row by number also can add more js codes on your app script to insert and update data on your spreadsheet using thunkalbe-X webAPI component.
Hi I can´t find the entry.nnnnnn code in google form, I think google made some changes in Forms coding or I am missing the procedure.
Did you see changes in your form applications?
Best regards!
@adminxh When you try those blocks, are you seeing âConfirmâ or âTry Againâ?
Any time you are using a component with an âerrorâ or âstatusâ block, you need to check those values. You are checking for status=200 but you arenât doing anything with the error value. Your blocks should say if status=200 ⌠else set label to error. That way, if it doesnât work, you can see what error message the API is returning.
I think I have same problem. , Iâm solving a problem too I get the entry code from greenline in picture. I think you get entry code from redline your data is not firing in google sheet.
sorry for my English. My English is not very well.
Sorry for the inconvenience guys, something got changed in google form after i posted this topic⌠Buy why you are applying so much effort to get entry codes! You can easily get all entry codes at once just by creating a pre-filled link of your form
Since google forms submits directly to google sheets, you can instead connect to sheets using our data source feature and submit a form without using the rest api or decoding a form!