?
Solved

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

Posted on 2010-11-09
6
Medium Priority
?
522 Views
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 .

Thanks,
Rao.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Expert Comment

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

Author Comment

by:PillalamarriVenkateswaraRao
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 ...
Thanks,
Rao.
0
 
LVL 7

Accepted Solution

by:
Nilang_ETI earned 1000 total points
ID: 34093380
Following tool will help you to achieve this.

http://officetoolbox.codeplex.com/
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 34093599
Thanks Nilang_ETI.
But 3rd party tools are allowed... :(
Anyway thanks for the good resource.
Any idea with SPD 2007 ?
Thanks,
Rao.
0
 
LVL 44

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.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
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.
Thanks,
Rao.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

800 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