Skip to main content
June 9, 2016
Question

PDF Text Field Javascript

  • June 9, 2016
  • 1 reply
  • 869 views

I have a text field in pdf where comb of character value is set to 19 as the value needs to be spreaded across the width of the text field however my value is more than 19 characters. I have tried to substring the value using javascript and putting rest of the value in the next field but setting the comb of character to 19 is removing the rest of the string. please can someone help me to achieve the same.

    This topic has been closed for replies.

    1 reply

    sinious
    Legend
    June 9, 2016

    Can we make this a bit more clear on why the single input isn't working for you? Is there a width limitation so the user can't see all the characters (standard behavior being to scroll horizontally). Where is the real problem? Is it a sequence of characters with no spaces so wrapping text isn't ideal? Please give us a usage scenario.

    June 10, 2016

    I have a text field which takes email Id of the user but the text field limit is set to 19 characters only for which I have used "comb of" properties to spread the characters across the width of text field.

    Email Id can be more than 19 characters so I am making the sub-string of email Id and putting the 19 characters in first text field and trying to put rest of the characters of the email Id in the next text field which i have created but due to "comb of" property limit to 19 characters, rest of the characters of email Id is getting removed so I am not able to retrieve the rest of the characters. when i remove this property, it is allowing me to get rest of the characters but in this case, the formatting is the issue, the characters are not spreaded across the width of the text field.

    Karwan Mawlood
    Participant
    June 19, 2016

    Please tell me which program you are using for your form PDF ?