Solved

Remove Asterisk in SharePoint 2010 List Form

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Know what services you can and cannot, should and should not combine on your server.
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…

910 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

22 Experts available now in Live!

Get 1:1 Help Now