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

Hiding form field boxes after they are filled out

New Here ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

I would like to set up form fields for the sales team so they can see where to input thier contact info - then after they fill it out it can be saved just showing thier contact information without the surrounding input box. Thanks for your help in advance!

TOPICS
How to , PDF forms

Views

705

Translate

Translate

Report

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
New Here ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

Ha I think I answered my own question. I can set up the fields with no color and border and put "Name Here", "Phone Number Here", "Email Here". That way the sales team member can see where they need to fill in AND still save it without showing field form area. 

Votes

Translate

Translate

Report

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 ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

You could also use a custom format script to create shadow text with labels for each field. This way there is no actual field value, but text is still displayed. 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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 ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

So you want to hide the field border. This is easy to do by setting the field lineWidth property to 0.  However, you need to decide on a workflow where there a specific event where this can be done. 

 

One way might be to use a validation script on each field, so the border dissappears when it is non-empty.

Put this script in the custom validation script for the field

 

event.target.lineWidth = (event.value == "")?0:1;

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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
New Here ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

LATEST

Thanks for your help! 🙂

Votes

Translate

Translate

Report

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