Find Jobs
Hire Freelancers

Fix Google Apps script -- 2

€8-20 EUR

V teku
Objavljeno pred približno 1 letom

€8-20 EUR

Plačilo ob dostavi
I need your help to fix my Google Apps Script. It is not working. I have set up the trigger, but onFormSubmit(e) is not called. If you see the error(s), please send me a message. Thank you! function myfunction() { var form = [login to view URL]('PSSD / PSF survey'); // Add problems question with "Other" option var problemsQuestion = [login to view URL]() .setTitle('Problems') .setChoiceValues(['Libido','Anesth', 'brain fog']) .showOtherOption(true); // Add gender question on a new page var genderQuestion = [login to view URL]() .setTitle('Gender') .setGoToPage([login to view URL]) .addMultipleChoiceItem() .setTitle('What is your gender?') .setChoices([ [login to view URL]('Male'), [login to view URL]('Female'), [login to view URL]('Other') ]) .setRequired(true); // Log the published URL of the form [login to view URL]('Published URL: ' + [login to view URL]()); } function onFormSubmit(e) { var form = [login to view URL](); var formResponse = [login to view URL]; var itemResponses = [login to view URL](); for (var i = 0; i < [login to view URL]; i++) { var itemResponse = itemResponses[i]; var question = [login to view URL]().getTitle(); var answer = [login to view URL](); // Ask "why did you choose answer" for all questions except gender confirmation if (question !== 'Are you sure that you are a <gender>?') { var followupQuestion = [login to view URL]() .setTitle('Follow-up question') .setGoToPage([login to view URL]) .addParagraphTextItem() .setTitle('Why did you choose ' + answer + '?'); } // Add gender confirmation question on a new page if (question === 'What is your gender?' && answer !== 'Other') { var confirmationQuestion = [login to view URL]() .setTitle('Gender confirmation') .setGoToPage([login to view URL]) .addMultipleChoiceItem() .setTitle('Are you sure that you are a ' + answer + '?') .setChoices([ [login to view URL]('Yes'), [login to view URL]('No') ]) .setRequired(true); } } }
ID projekta: 36244926

Več o projektu

4 ponudb
Projekt na daljavo
Aktivno pred 1 letom

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
4 freelancerjev je oddalo ponudbo s povprečno vrednostjo €46 EUR za to delo
Avatar uporabnika
Hi there!, Hope all good there. I read your project details and I'm very interested to hear from you to discuss more asap. I can generally complete the work within time. You can see some of my past work in my portfolio here: https://www.freelancer.com/u/devikagupta/ and then you can contact me or accept my bid so that we can discuss more and start on your project asap. I am waiting for your positive response to start on this project. Thanks! Devika :)
€20 EUR v 7 dneh
5,0 (666 ocen)
7,9
7,9
Avatar uporabnika
?Greetings! I have read your description carefully and understand what you actually need. I am an experienced developer and can handle this project easily and in perfect manner. I am available now and can start right away, I will develop it in the least time. I am an experienced and professional developer so everything will be well managed. I assure you the work will be provided with quality. Waiting for your response, feel free to get in touch. Thanks!
€100 EUR v 2 dneh
5,0 (5 ocen)
5,6
5,6
Avatar uporabnika
I know how to help you and alrwady identified why isn't working, i can help you right now, please contact me
€14 EUR v 7 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava GERMANY
Offenbach, Germany
5,0
750
Plačilna metoda je verificirana
Član(ica) od sep. 22, 2009

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.