Solved

Remove Asterisk in SharePoint 2010 List Form

Posted on 2013-05-13
2
1,238 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
Comment Utility
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
Comment Utility
Very good, thank you! Exactly the solution I needed; worked right away. Appreciate the fast response.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows Server Licensing - Home Server 6 24
C3-->D3 Line Chart 4 16
angularls and plnkr 14 16
onOpen 14 35
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

771 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

7 Experts available now in Live!

Get 1:1 Help Now