Google Forms: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
{{bullet1|<nowiki>var apiKey = 'yourapikey';</nowiki>|The text ''yourapikey'' needs to be replaced with the key that we generated in the section: [[#Setup an API Key|Setup an API Key]]. Be sure to keep the quotation marks.}} | {{bullet1|<nowiki>var apiKey = 'yourapikey';</nowiki>|The text ''yourapikey'' needs to be replaced with the key that we generated in the section: [[#Setup an API Key|Setup an API Key]]. Be sure to keep the quotation marks.}} | ||
{{bullet1|<nowiki>var instanceId = 'yourinstanceid';</nowiki>|The text 'yourinstanceid' needs to be replaced with your instance ID. This can be found within the URL that connects you to your Hornbill. This should be all lowercase. Be sure to keep the quotation marks.}} | {{bullet1|<nowiki>var instanceId = 'yourinstanceid';</nowiki>|The text 'yourinstanceid' needs to be replaced with your instance ID. This can be found within the URL that connects you to your Hornbill. This should be all lowercase. Be sure to keep the quotation marks.}} | ||
<br> | |||
===Questions and Custom Fields=== | ===Questions and Custom Fields=== | ||
[[File:ScriptCustomFields.png|right|border|link=]] | [[File:ScriptCustomFields.png|right|border|link=]] | ||
Line 81: | Line 82: | ||
<br> | <br> | ||
You can add, remove, rename, each case statement and choose your custom fields to match your Form questions and where you would like the responses to be stored. | You can add, remove, rename, each case statement and choose your custom fields to match your Form questions and where you would like the responses to be stored. | ||
<br> | |||
===Update Status=== | ===Update Status=== | ||
[[File:ScriptUpdateStatus.png|right|border|link=]] | [[File:ScriptUpdateStatus.png|right|border|link=]] |