How can I apply standardized formatting to custom outlook fields in a contact form?

Hello,

We are attempting to make a customized contact form for our service department.  We have created a few custom fields and can enter data in them fine.  However, we would like some of those fields to autoformat the way some of the built in contact fields format.

For example, we wish to have a field called "Service Rep Contact Email," in order to be able to contact the primary service representative for that customer.  If we use the standard "Email/Email 2/Email 3" fields built into Outlook, it automatically formats the entry like an email and turns it into a link that can be clicked on.  If we create a new field that holds a Text value, we can type in the email address, but it will not format.  The same thing goes for fields meant to hold custom phone numbers, etc.

We could just add the built in fields and then change the label on the form, and it would display fine on the screen - but printing seems to be linked to the Value of the field, not to the field's name or the label's properties.  So when printed, what is displayed on the screen as "Service Rep Contact Email" would come out as "Email 2" which would likely just cause a large amount of confusion.

Thanks for your help!
LVL 1
Jason_PlaceAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David LeeCommented:
Hi, Jason_Place.

Formatting a coustom field is going to require writing code behind the form.  When the value of a field changes an event is fired.  You will have to write code to trap that event and format the value that was entered in the field.  Here's a link to a page with details and examples oh handling this event: http://www.outlookcode.com/article.aspx?id=38  Your code will need to use the Format function to make a custom field behave the way one of the built-in fields behaves.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason_PlaceAuthor Commented:
Thanks for the help.  That's what I was afraid of, but I'm glad to at least know what is needed.
0
David LeeCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.