2 Replies Latest reply on Dec 30, 2015 6:11 AM by tracyy42935226

    Javascript to extract second line only of a text input field in PDF Form???  Is it possible?

    tracyy42935226 Level 1

      I have a PDF form created in Acrobat DC.  One of the fields is a multi line text field for the name and address.  The user inputs the info with carriage returns into a field named Applicant which ends up in a format like:

       

      Name

      Street Address

      City, State Zip

       

      I need to extract JUST the second line of this field to populate another text field with that data.  So, my second text field would be called StreetAddress and would automatically extract just the second line of input from the  text field named Applicant. 

       

      Is this even possible?  If so, can anyone give me a sample of how this can be accomplished?  I don't want to ask the Applicant to input each line into separate fields.