Skip to main content
Question

How to give a maximum length to a input field

  • June 29, 2023
  • 1 reply
  • 182 views

david-2023

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/schema.md at main · zapier/zapier-platform · GitHub

Did this topic help you find an answer to your question?
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

Forum|alt.badge.img+7
  • Zapier Staff
  • 91 replies
  • June 30, 2023

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.