Skip to main content

Developers can now add form field validation to Google Workspace add-ons and Google Chat app cards

By Alfonso Martinez 1 min read

What’s changing

Starting today, Workspace add-ons and Chat app developers can add client-side input validation to Chat apps and add-ons. 

Specifically, the card UI now supports required form field validation on the date-time picker, the multi select menu, the drop down menu and text input widgets via the Action API for add-ons and Chat apps. Additionally, text inputs now support input type and format validation with input length limits via the Validation API for add-ons and Chat apps. 

As a result, developers can ensure data accuracy and improve their app's user experience by catching errors before information is submitted. 

Example of the form validating if the user has populated all the required fields before submitting a form.

Example of the form validating if the user has populated all the required fields before submitting a form.

Example of the form validating the input type for text fields. The supported types are text, integers, decimals, email and emoji.

Example of the form validating the input type for text fields. The supported types are text, integers, decimals, email and emoji.
Example of the form limiting the allowed text input length to a specified length.

Example of the form limiting the allowed text input length to a specified length.


Getting started 

Rollout pace

Availability

  • Available to all Google Workspace customers 

Resources 

Share: LinkedIn X Email

About the author

Alfonso Martinez

Alfonso is a Google Professional Cloud Architect and Workspace Administrator at Suitebriar with over 10 years of experience in the Google ecosystem.

Talk to a Google expert about your project

Tell us what you run on today, how many people it affects and what you want to change.

  • Google Cloud Premier Partner, working only on Google Cloud and Workspace for more than a decade
  • U.S.-based support team

Free AI starter kit

From your data to your first AI agents, in four steps

Google's AI starter kit for lean teams: your four-step guide from data to agents.

  • Four steps, from a first no-code win to a multi-step agent workflow
  • Use cases with sample prompts, plus the ABCD prompting technique
  • Best practices for data quality, governance and human oversight