Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Text Field Box to print without border

Not applicable
I have been searching this forum for hours and have found many other people who have had the same issue but I have yet to find an answer that works with me. I want to create a Text Field box and have it so when I print it out it will only print the words and not the surrounding box... Simple enough? Well, not for me I guess! Thanks so much,



Nick
6 Replies
Not applicable
Here's one way:



In the prePrint event for the text field, add this JavaScript:



ui.textEdit.border.edge.presence = "hidden";



And in the postPrint, add this script:



ui.textEdit.border.edge.presence = "visible";



This will hide the border while the form is being printed.
Not applicable
steviex, i have tried this. I guess there is something i am not doing correctly. Can i email you the .tds file and you can look at it to see whats wrong? thanks so much!
Not applicable
Hi Nick - one thing I forgot to mention is the form must be dynamic - make sure when you save the form you select "Adobe Dynamic XML Form" (or XDP) and check in Form Properties that the preview type is set to Dynamic XML Form.
Not applicable
The only options I have under preview type are interactive form and print form. I am currently running CS2. Is there something more I can do?



Thanks, Nick
Not applicable
stevex, i reciently upgraded to 7.1 and still do not see that option. can you email me at nickfontenot@gmail.com and we can chat that way?
Not applicable
Will the script change if the borders I want to hide are from a numeric field? It works when I use it for text fields but it doesn't with numeric ones. Please help