I want to specify a length of 8 caracter how i made?
You could create an extension, and define a "validation_pattern" for this field to make sure it's exactly 8 characters.
https://www.itophub.io/wiki/page?id=latest:customization:xml_reference#fields -> AttributeString -> validation_pattern
and how must be de validation_pattern i need 8 caracter
<validation_pattern>^V\d{1,2}(.\d{1,2}){0,2}( P\d{1,2})?$</validation_pattern>
Try something like
<validation_pattern>^.{8}$</validation_pattern>
Log in to post a comment.
I want to specify a length of 8 caracter how i made?
You could create an extension, and define a "validation_pattern" for this field to make sure it's exactly 8 characters.
https://www.itophub.io/wiki/page?id=latest:customization:xml_reference#fields -> AttributeString -> validation_pattern
and how must be de validation_pattern
i need 8 caracter
<validation_pattern>^V\d{1,2}(.\d{1,2}){0,2}( P\d{1,2})?$</validation_pattern>
Try something like