Title: Submit button input name?
Last modified: May 15, 2021

---

# Submit button input name?

 *  Resolved [ConiMoss](https://wordpress.org/support/users/conimoss/)
 * (@conimoss)
 * [5 years ago](https://wordpress.org/support/topic/submit-button-input-name/)
 * Right now submit button code looks like this:
 * `<input type="submit" class="usp-submit usp-submit-default" value="Submit">`
 * How do I add the ‘name’ in to the USP button input?
 * like this:
 * `<input type="submit" name="submit" class="usp-submit usp-submit-default" value
   ="Submit">`
 * please help, tried everything , can’t figure out how to do that.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years ago](https://wordpress.org/support/topic/submit-button-input-name/#post-14442508)
 * Enter the following code in the plugin option “Custom Content”:
 *     ```
       <script>
       	jQuery(document).ready(function($){
       		$('.usp-submit').attr('name', 'submit');
       	});
       </script> 
       ```
   
 * Save changes and done.
 *  Thread Starter [ConiMoss](https://wordpress.org/support/users/conimoss/)
 * (@conimoss)
 * [5 years ago](https://wordpress.org/support/topic/submit-button-input-name/#post-14442554)
 * I have added in the Settings > USP Pro:
 * Selected CSS/JS tab.
 * Pasted the code in the “Custom JavaScript” field.
 * but it didn’t added.
 * Maybe I pasted in the wrong place?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years ago](https://wordpress.org/support/topic/submit-button-input-name/#post-14442568)
 * Oh sorry I thought you were asking about the free version of USP. Because the
   forums here at WordPress.org are for free versions of plugins only. For any questions
   about pro versions, reach us via the contact form at Plugin Planet, we’ll reply
   asap. Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Submit button input name?’ 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

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [input](https://wordpress.org/support/topic-tag/input/)
 * [name](https://wordpress.org/support/topic-tag/name/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/submit-button-input-name/#post-14442568)
 * Status: resolved