TIMAI2
February 22, 2024, 1:29pm
18
True, but using a google form means you can, if you wish, keep the google spreadsheet restricted whilst still adding data.
However, if you use a service account with the spreadsheet component, you can do much the same.
Also, have you decided yet if you are going to work inside your organisation's Google workspace? Can an admin give external access to the sheet (and form if used) so that the appinventor app can use it?
eddieZa
February 22, 2024, 1:33pm
19
i wont use the workspace. keeping it simple
TIMAI2
February 22, 2024, 2:03pm
20
Here is a simple example, using a form and spreadsheet, it is live so you should be able to test:
meritRecords.aia (5.6 KB)
Spreadsheet
Form
I haven't handled default teacher or subject.
1 Like
eddieZa
February 23, 2024, 12:24am
21
i tried with spreadsheet n form that i make myself, i manage to record the submitted answer to my google form, but the info in the spreadsheet not showing in the app and data recorded. maybe i put the link in the wrong place of the code. here i provided my drive folder so you can put it there.
https://drive.google.com/drive/folders/1OBJVIP3ZcFHqOpkEuuicBmSmQ4F68dkp?usp=drive_link
TIMAI2
February 23, 2024, 9:16am
22
Put what there ?
Have you pointed the google form responses to your spreadsheet correctly ?
eddieZa
February 23, 2024, 9:55am
23
drive to put the spreadsheet file and form file so i can edit in the future,
i havent pointed the google responses to the spreadsheet. i dont know how.
TIMAI2
February 23, 2024, 10:09am
24
When you have the google form open in edit mode, click on Responses and select your google sheet from the top right of the display.
Note the order of the worksheets in the spreadsheet, it is important that the spinner data is the first worksheet.
My example is just that, and example. I provided links so you could see how it works. You need to create your own google sheet and data.
eddieZa
February 23, 2024, 11:45am
25
does the form link to the spinner spreadsheet? or create a new spreadsheet?
and in the code which part do i put my form link?
TIMAI2
February 23, 2024, 12:20pm
26
You can do either. I just used the spinnerData spreadsheet for both
I meant to split up the form url so you could see how it is constructed:
Ref:
eddieZa
February 23, 2024, 12:42pm
27
so does response spreadsheet be different or same with the spinner spreadsheet?
eddieZa
February 23, 2024, 12:53pm
28
how to get the entry code?
TIMAI2
February 23, 2024, 1:46pm
29
You can use two separate spreadsheets or just the one
You generate a prefilled form url
eddieZa
February 24, 2024, 12:34am
30
nice, i finally get my form to be fill in with the spinner data. my next question are
you say i can use two separate spreadsheet or just one. so in your example does it using 1 or separate spreadsheet?
TIMAI2
February 24, 2024, 9:51am
32
It uses one spreadsheet, one worksheet for SpinnerData (lists) and one worksheet for the form responses. This should be obvious if you look at my spreadsheet.
What do you mean ?
eddieZa
February 24, 2024, 2:14pm
33
Ow... Now i get it... I will try make thw same new worksheet
eddieZa
February 25, 2024, 3:56am
34
yes, i finally understand how this work. thanks a lot. god bless u.
eddieZa
February 25, 2024, 4:03am
35
1 more thing i want to ask, after are working well, how can we make it that we can choose/click multiple students name for each time submitting.
TIMAI2
February 25, 2024, 2:12pm
36
That would require a different approach, and more work/blocks.
You could use this extension, which provides for multi-select:
Description
Custom List Picker shows different types of list picker dialog to pick a list item with customization of list picker dialog.
It is different from inbuilt list picker component, list picker component shows list items in a new activity/screen with less customization where custom list picker shows a dialog and you can customize its appearance.
Blocks
[image]
[image]
Instructions
[image]
Shows and Dismisses the list picker dialog.
[image]
Returns selection and selection …
then you would need to make individual uploads for each record, or use a google apps script to allow for all data to be uploaded in one go:
eddieZa
February 26, 2024, 1:05am
37
thanks, i will go through it.