How to give a maximum length to a input field

  • 29 June 2023
  • 1 reply

May I know if we can set a max length for a text field?

Because I don’t see a max length here zapier-platform/packages/schema/docs/build/ at main · zapier/zapier-platform · GitHub

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 3
Badge +6

Hey @david-2023 ,

As you found, I’m afraid the schema does not currently support setting a max length on a text field.

I apologize as definitely see how helpful that would be, and I’ve shared your interest in this functionality with the platform team for future consideration. 

In the meantime, while certainly not enforced, the best alternative might be to add help text to the field, noting your API’s limit.