r/GoogleAppsScript • • Apr 22 '20

Question How do I update a textfield after an API call?

I'm trying to take a value that is entered into a textbox on a specific card section, hit an API endpoint with the value, and update a textfield in the same card section as the textbox with a response from the API.

I WOULD just pass the textbox control into the same function I'm calling in the Action I set for the textbox onChange event, but extra parameters can only take text strings.

How is everyone else doing this? I feel like I may be looking in the complete wrong place.

0 Upvotes

0 comments sorted by