This topic contains 1 reply, has 2 voices, and was last updated by  Haris 5 months ago.

  • Author
    Posts
  • Participant
    trevorbee55
    Newbie
    Member since: 11.11.2017
    Number of posts: 4

    I am using a text area field in my document – however i cannot get it to automatically word wrap..
    here is a snippet of the code

    .withField(FieldBuilder.textArea()
    .withId(new FieldId(“signerComments”))
    .withStyle(FieldStyle.TEXT_AREA)
    .withPositionAnchor(TextAnchorBuilder.newTextAnchor(“<notes1>”)
    .atPosition(TextAnchorPosition.BOTTOMRIGHT)
    .withSize(550, 150)
    ) //anchor
    ) //field

    Keymaster
    Haris
    Jedi Master
    Member since: 05.11.2015
    Number of posts: 1450

    Score

    0

    Hi,

    Unfortunately, text areas and text fields do not word wrap. What I can suggest is to restrict the character limit for your text area fields to prevent undesired results.


    Haris Haidary
    OneSpan Technical Consultant

You must be logged in to reply to this topic.