Fix Google Apps script

Job Description:

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]()


.setChoiceValues(['Libido','Anesth', 'brain fog'])


// Add gender question on a new page

var genderQuestion = [login to view URL]()


.setGoToPage([login to view URL])


.setTitle('What is your gender?')


[login to view URL]('Male'),

[login to view URL]('Female'),

[login to view URL]('Other')



// 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])


.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])


.setTitle('Are you sure that you are a ' + answer + '?')


[login to view URL]('Yes'),

[login to view URL]('No')






Beceriler: JavaScript, PHP, Google Chrome, Yazılım Mimarisi, HTML

Müşteri Hakkında:
( 748 değerlendirme ) Offenbach, Germany

Proje NO: #36241848

Bu iş için 5 freelancer ortalamada €54 teklif veriyor


Hi there, I can help you with this project and am ready to start right now. Please ping me back so we can discuss further this project to clear all the requirements. Looking forward to hearing from you soon. Thanks & Daha Fazla

€150 EUR in 3 gün içinde
(59 Değerlendirme)

Hello, How are you? I have reviewed your requirement and I understood what you want. I have rich experience in PHP, JavaScript, HTML, CSS, etc. So I can deliver the best result asap. Please contact me to discuss more d Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(1 Yorum)