How to convert Choice Field to Label in Custom NewForms Using SharePoint designer

Posted on 2010-11-09
Last Modified: 2012-06-21
How can I conver Choice Field to Label in Custom NewForms.
In EditForms we can do by using SPD 2007. Any Suggestion please .


Expert Comment

ID: 34092120
can you send me cleary about your requirement.
LVL 13

Author Comment

ID: 34092251
Hi ramuar1981,
I will do most of my customization with SharePoint Designer. Some times we need to go for Custom Forms instead of built in pages in list (like Allitems.aspx, NewForm.aspx, DispForm.aspx, EditForm.aspx).
So If I build the custom Newform page then Some of the fields need to be label instead of original Data type.
For Example in my list say ABC I have Title (Single Line Of Text), Project Name (Single Line Of Text), Project Completed % (Number), Status(Choice).
So I created a Custom New Form then I add Custom List Form to my New Custom New Form. So I will get all the fields with original data types.
But I want to Show my Status field values as Label instead on Choice. We have an option to change Choice to lable but it is not showing value in the form at runtime ...
Please let me know if anything is not clear ...

Accepted Solution

Nilang_ETI earned 250 total points
ID: 34093380
Following tool will help you to achieve this.
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

LVL 13

Author Comment

ID: 34093599
Thanks Nilang_ETI.
But 3rd party tools are allowed... :(
Anyway thanks for the good resource.
Any idea with SPD 2007 ?
LVL 42

Expert Comment

by:zephyr_hex (Megan)
ID: 34094708
you can put the newform page in split code/design view.  my suggestion is to create a new label field so you can see the code for label fields.  then click on the field you want to change, and modify the code so it's a label.

sorry i can't be more specific.  i don't have access to sharepoint in order to give you the exact code.  but this is how i used to do it.
LVL 13

Author Comment

ID: 34102801
Hi zephyr_hex,
Actually in NewForm it is not working. But the same concept is working in EditForm.
The label is binding to Data Field but it is not showing the value ... :(
I tried your way also but no luck.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now