I have a question about the Calendar app. I made the Location field compulsory from the Validation settings and a red warning message appears, when you try to save an event without its location. How can I make the Red asterisk appear next to the Location field, showing that it is compulsory? The SharePoint I can't be amended via InfoPath, otherwise I'd just change the form and add a new required field. I saw that people with similar issues simply hided the field, which they didn't want to appear via the css, and added a custom field. However, I wonder if there is a simpler way of doing this?

1 Answer 1


You can use jQuery for putting this dynamically.

Edit Following pages

  1. EditForm.aspx
  2. NewForm.aspx

Add a Script Editor Webpart and use below

        if(jQuery(this).html().indexOf("Location") > 0)
            jQuery(this).html('<h3 class="ms-standardheader"><nobr>Location <span class="ms-accentText" title="This is a required field.">*</span></nobr></h3>');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.