Hello,
I also have a problem with the addressing in my form.
Im making a simple fax-form for a company to send as first page of a fax.
In the form I need to address it to someone as followed
to: mister ....
to: miss ....
In Dutch:
t.a.v. de heer ....
t.a.v. mevrouw ....
The .... has to be typed by the user of the form.
A bit later you have to start the fax form as followed:
Dear mister ....,
Dear miss ....,
In Dutch:
Geachte heer ....,
Geachte mevrouw ....,
The problem is that you can only address in those two ways, so no miss, mam, hey Mike!, Dear Jane Doe, etc.
If I try to use a drop-down box after to/t.a.v. or after Dear/Geachte the problem is that the words aren't of the same length, so the name of the person (textfield) has a too big, or a too small, or a correct white space before it.
This is really ugly, but I don't know another way to solve this problem.
Do you have any ideas?
Thanks a lot in advance!
Sterre
You could use a drop down, but you could also use radio buttons to select the "prefix". Selecting a prefix would tnen fill out a read only text field next to the name field.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script