14 Replies Latest reply on Aug 19, 2010 9:16 AM by gkaiseril

    Autofill form field till end of line

    techie33

      I'm trying to create a pdf that has a few forms that will autofill till the end of the field with dots "."

       

      An example is if a user typed the word apple, I want the field to populate like this..

       

      apple.......................................................................

       

      So they can tab and set the price which would be a different field and the end result would look like this..

       

      apple.......................................................................  $ 0.50 per

       

      I understand how this should function with the loop till the end of the form field, I'm just not too familiar with how to code this with javascript.

       

      Thank you for your help.