You are viewing limited content. For full access, please sign in.

Question

Question

How can I limit the "state" field to two characters?

asked on May 29, 2015

We are trying to implement a form that contains the Address block, and the data will end up in an external application. The database we are inserting the data to limits the State property to 2 characters. If I am using an Address block, how can I limit the size of that field to two characters?

0 0

Answer

SELECTED ANSWER
replied on May 29, 2015

I figured it out!

 

$(".State").attr("maxlength", 2);

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.