Expand my Community achievements bar.

suppress blank lines in PDF Business card template

Avatar

Former Community Member
Hi,



My project is to create a web-to-print solution for business cards.



On the LEFT side:



NAME

Title



[Few blank lines}

Address1

Address2

Address3

Web url



On the RIGHT side:

Phone

Fax

Cell

Email

AIM



I layout the business card in PDF (using designer) and the web front end Im using ColdFusion with CF_PDFForm by Ben Forta ( http://www.forta.com/blog/index.cfm/2006/7/27/cf_pdfform) which uses LiveCycle XPAJJ.



This is where I'm stuck: if a user does not enter a fax number... I want the PDF preview to move phone: down 1 line and not show the word 'fax'.



I want to suppress a line with title if its blank.



Is this possible? Can I use ONE master template with all the field design and then format base on the information thats entered in the form?



Thanks in advance for any help. Also, if youre available to work on this; Id pay for your time.
1 Reply

Avatar

Former Community Member
I do that with server-side code but maybe that is not suitable for your situation. When done server-side the pdf simply has to lay out flattened images. See how I've done it here -
Business Card Tool