Solved

Remove Asterisk in SharePoint 2010 List Form

Posted on 2013-05-13
2
1,338 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

728 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