You can use Patterns to achieve what you want. Click on the field oand on the Object pallette on the Field Tab there is a button called patterns. Click on that a nd a separate dialog will open with 4 tabs on it. Basically the 4 tabs represent the data at different tabs and you can apply a different pattern to the data at each time if you wish. The Display pattern is when the data is on screen. The Edit pattern is when the user is entering the data. The Validation is when the data is being validated and the Data is when it is stored or written in the data file for submission. In your case you want to control what is on screen so choose the Display pattern. There is a sample on the left of that dialog for a phone number (it will be in North American format) select that. Now modify it to look like this:
The 9 indicates that this position is for a numeric char and the ( and ) chars are wrapped in quotes so that they are put in as a string.
Next you want to control what the user can enter. This means you have to adjust the Edit pattern. When you do this, the user can enter data in the any format but the Display pattern will only be applied to formats that you allow. You can OR the patterns together so add a pattern like this:
Add any other format you feel is needed.
Lastly you can add a validation pattern. This will allow you to validate that the user has entered the right information before submitting. Note that the validation will not run until you hit the submit.
Regarding your second question, you can put a default value in the field to show the format you want (99)9999-9999. I personally do not like this way because it will pass validation but it is not a valid number. You coudl write a script that woudl blank out the field upon entry as well. You can use a tooltip on the Accessibility palette that will pop up the format when you hover on the field, or you can include the format that you want in the Caption of the field. I prefer one of the last two methods.
Hope that helps
It worked like a charm.
I'm never going back to Word for forms. Such a frustrating program!
I would like to thank you very much. I wasn't really making progress by myself, so thanks for taking the time to reply and help out