G
Guest
I'm having the following difficulty
I need to create a form to collect personal information that will then be printed. In order to ensure consistency, I want to apply number formats to the various numbers I need to use. Two of these numbers might be collected in one of two formats
Phone number-
If an area code is provided, I would prefer the number to appear with this format: (123) 123-123
If there is no area code, I would prefer this format: 123-123
Zip Code-
If the zip+4 is provided, I would prefer the following format: 12345-123
If only the zip is provided, I would preferthis format: 0123
I can't seem to set up the FORMTEXT field to do this. If I place it inside of an IF field, Word no longer recognizes the field as FORMTEXT, and it is not available when I protect the document as a form
I've been working off of http://www.gmayor.com/formatting_word_fields.htm as my guide for formatting fields, but I can't seem to use it to find an answer for this particular problem. The technique offered in the US Zip Codes section isn't working for me when a FORMTEXT field is involved
tj
I need to create a form to collect personal information that will then be printed. In order to ensure consistency, I want to apply number formats to the various numbers I need to use. Two of these numbers might be collected in one of two formats
Phone number-
If an area code is provided, I would prefer the number to appear with this format: (123) 123-123
If there is no area code, I would prefer this format: 123-123
Zip Code-
If the zip+4 is provided, I would prefer the following format: 12345-123
If only the zip is provided, I would preferthis format: 0123
I can't seem to set up the FORMTEXT field to do this. If I place it inside of an IF field, Word no longer recognizes the field as FORMTEXT, and it is not available when I protect the document as a form
I've been working off of http://www.gmayor.com/formatting_word_fields.htm as my guide for formatting fields, but I can't seem to use it to find an answer for this particular problem. The technique offered in the US Zip Codes section isn't working for me when a FORMTEXT field is involved
tj