Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HOW TO CREATE A PDF FORM WITH SEPERATE BOXES FOR INDIVIDUAL LETTERS

Community Beginner ,
Apr 29, 2019 Apr 29, 2019

Hi, I have a form that I want people to fill in, I have enclosed an example , this is not the end result, I need to be able to calculate the number of letters which is why I need the individual boxes?

So they just type their name as normal rathert han clicking into each individual box with a letter? so you automatically move to the next box once one letter ha filled it?

Any ideas out there

ThanksBOXES.jpg

TOPICS
PDF forms
9.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Apr 30, 2019 Apr 30, 2019
LATEST

Use this:

event.value = this.getField("NAME TEXT").valueAsString.replace(/\s/g, "").length;

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

In the options of the text field use the entry "Comb of n characters".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Apr 29, 2019 Apr 29, 2019

Create a single text field in Acrobat, and make it a "comb" field.

To make it a comb field, go into the properties of the text field you've created, and under the Options tab, right at the bottom, you'll find a checkbox that says "Comb of", and you can enter how many characters you want the comb to have.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 29, 2019 Apr 29, 2019

Will this calculate how many letters as I need to prices per letter?

so at the end of the namer it will have a box that says say 15 (for the 15 letters used)?, uderneath there will be a cost for the 15 letters?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

For name use a text field with 15 characters, for order ref a text field with 6 characters.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 29, 2019 Apr 29, 2019

HI, there will be a standard number of boxes, say 20 boxes, they may have a short name or a long one, some boxes will be left empty, it's not for me to spcify how many?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

You don't need fill all boxes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

You can enter less characters than the comb limit, but not more.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 30, 2019 Apr 30, 2019

HI, I have got the code to calculate the characters, how do I change this so that it doesn't count the spaces?,I just need text and numbers?

event.value = this.getField("NAME TEXT").valueAsString.length;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 30, 2019 Apr 30, 2019
LATEST

Use this:

event.value = this.getField("NAME TEXT").valueAsString.replace(/\s/g, "").length;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines