0

Is it possible to assign "password" type to the Google apps script input box so that text doesn't show? My code is working fine except the input field is just text box and displays the text rather than "......"

 var section = CardService.newCardSection();
  section.addWidget(CardService.newTextInput()
    .setFieldName('Password')
    .setTitle('Password'));
6
  • 1
    Go check out this post, I think it has what you are looking for Commented Mar 16, 2020 at 13:53
  • 1
    Does this answer your question? Adding "password" type to Google Apps Script inputBox Commented Mar 16, 2020 at 14:29
  • Hello @Twinkle, does the suggested post answer your question? Cheers! Commented Mar 16, 2020 at 14:36
  • Hi @ale13, It is not working in case of google drive add on. It might work for spreadsheets only! Commented Mar 17, 2020 at 8:30
  • @Twinkle what exactly from the code there is not working? Are you getting any errors? Cheers! Commented Mar 17, 2020 at 13:09

0

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.