Solved

Remove Asterisk in SharePoint 2010 List Form

Posted on 2013-05-13
2
1,306 Views
Last Modified: 2013-05-13
Hello,

I am looking to remove the red asterisk that appear after required fields in a SharePoint 2010 entry form for a list. This corresponds to the list NewForm.aspx page. I know it is probably not best practice to remove the asterisk, given that it is a universal indicator for required fields, but the client wants it.

So, for example: First Name*

Regardless of the merits, is there any way to remove the asterisk for all list items? In this case, it is because all fields on the form are required, which is well-known, so the asterisks are just viewed as aesthetically cumbersome and unnecessary.

Any JavaScript or other code that can remove those? We still need the fields to be required, just don't want the red asterisks.

Thanks,
Joseph Irvine
0
Comment
Question by:jkeagle13
[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
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 410 total points
ID: 39163128
Hi,
you will have to embed jQuery and this function:
jQuery(document).ready(function () {
jQuery("span.ms-formvalidation").text('');
});

Open in new window

HTH
Rainer
0
 

Author Closing Comment

by:jkeagle13
ID: 39163292
Very good, thank you! Exactly the solution I needed; worked right away. Appreciate the fast response.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

756 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