Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

108

Likes

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. 

Likes

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
Adobe Community Professional ,
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

Likes

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
Adobe Community Professional ,
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

Likes

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! 🙂

Likes

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