Custom Fields
Re-Envisioned
Support Meta Box Builder Text field with size not limiting text input

  • Creator
    Topic
  • #29257
    Resolved jw_bln
    Participant

    I am using a text field in MB graphical Builder.
    In addition I am setting the size to 100.
    I thought the input field would be only 100 char long and/or an error message would appear if the text is longer than 100 char, but nothing happens... Why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29270
    Long Nguyen
    Moderator

    Hi,

    We can understand the setting size like the width of the input box. To limit the characters input, you can use the attribute maxlength. Please get more details on the documentation https://docs.metabox.io/custom-attributes/

    #29277
    jw_bln
    Participant

    Ohh, was looking around - did not find... Thanks.
    Maybe you add a small hint to the text field description...

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.