Title: Required fields check
Last modified: March 16, 2018

---

# Required fields check

 *  [crist2018](https://wordpress.org/support/users/crist2018/)
 * (@crist2018)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/required-fields-check/)
 * Hi,
 * I have a problem on a website before making the purchase. There is a form and
   you have to fill the shipping information. But, when you do not fill one of the
   required fields, and press ‘buy button’, the shopping cart page is reloaded.
   
   I need that the errors that are generated by empty required fields occur on the
   same page of the form, and the cart page will not be reloaded. I have detected
   this in wpsc-shopping_cart_page.php template. The form is like this:
 * <form class=’wpsc_checkout_forms’ action='<?php get_option(‘shopping_cart_url’);?
   >’ method=’post’ enctype=”multipart/form-data”>

The topic ‘Required fields check’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce_ebebeb.svg)
 * [WP eCommerce](https://wordpress.org/plugins/wp-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [crist2018](https://wordpress.org/support/users/crist2018/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/required-fields-check/)
 * Status: not resolved