Title: Mark required fields
Last modified: September 11, 2020

---

# Mark required fields

 *  Resolved [rosbiffer](https://wordpress.org/support/users/rosbiffer/)
 * (@rosbiffer)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/mark-required-fields/)
 * Great plugin! Any way of marking the required field labels with an asterix or
   something? Users are getting annoyed at not knowing which fields are required.
   Also, when that error message appears it is not immediately obvious as it is 
   at the top of the form and the form doesn’t scroll up on submit so they press
   submit and it looks like nothing happens…

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/mark-required-fields/#post-13394233)
 * One way is to set up the custom form (as explained in the plugin docs). Then 
   you can tweak the labels to be whatever you want. Alternately you can add a line
   of CSS to your theme:
 * `<style>.usp-name label:before { content: '* '; }</style>`
 * There are other ways to do it as well (like with JavaScript). Check out [this post](https://perishablepress.com/faqs-user-submitted-posts/#mark-required-fields)
   for more infos.
 * The plugin displays the errors immediately above the form by default. So it is
   recommended to display the form near the top of the page. The only possible workaround
   that I know of is to use the option “Redirect URL” and include the anchor/ID 
   of the form, e.g.:
 * `https://example.com/#user-submitted-posts`
 * That way the page will be loaded with the error messages displaying in the browser
   window. Caveats to this method include:
 * * Only works if the form is included on one page only (not every page)
    * May
   not work in every browser
 * I hope this helps. Let me know if I can provide any further infos.

Viewing 1 replies (of 1 total)

The topic ‘Mark required fields’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

## Tags

 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/mark-required-fields/#post-13394233)
 * Status: resolved