This topic contains 1 reply, has 2 voices, and was last updated by  Duo_Liang 2 weeks ago.

  • Author
    Posts
  • Participant
    HanyuChen
    Member since: 01.03.2019
    Number of posts: 4

    Hello,

    We have the below field in our pdf: {{esl:Signer1:textfield:size(200,50)}}
    Can you please let us know how to make these fields required and how can I set the max field length for these fields.

    Thanks!

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 767

    Score

    1

    Hey Hanyu,

    Kindly try this script: {{*esl:Signer1:textfield:Size(200,50),Maxlen(50)}}.

    Syntax of Text Tags should be:
    {{Xesl[_fieldName]:roleName:fieldType[:parameter1,parameter2,…]}}
    Where:
    1. X has two options: ? or *, for signatures fields, it’s related to optional signature, for other types of fields(including text fields), it means a required field validator.
    2.If you have multiple parameters, after the last colon, separate them with comma like above example.

    And go check this documentation for more information!

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist

You must be logged in to reply to this topic.