[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2008-11-17
Medium Priority
Last Modified: 2012-05-05

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!
Question by:Jason_Place
  • 2
LVL 76

Accepted Solution

David Lee earned 2000 total points
ID: 22981588
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.

Author Closing Comment

ID: 31517428
Thanks for the help.  That's what I was afraid of, but I'm glad to at least know what is needed.
LVL 76

Expert Comment

by:David Lee
ID: 22985565
You're welcome.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
I came across an unsolved Outlook issue and here is my solution.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question