1
Browser.inputBox('Enter your name', Browser.Buttons.OK_CANCEL)

Above Code is working fine in sendSurvey function.

But I am trying to use it in doPost method in app scripting for spreadSheets. It is not working there.

Can anyone tell me why it is not woking?

my execution transcript is showing this

but I am not getting my input box.

1 Answer 1

1

See the answer here: browserbox-sheets

You can use the input box in the context of a Google Spreadsheet, or a custom function within the Google Apps UI. When you're making a POST() request, that is invalid since the context is serving the request directly, with a text or html output. You can't have a inputbox popup with that.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.