Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Making Company Field Required


Jud

Recommended Posts

I run a wholesale Jewelry website and I need to know how to make the company name required on the account creation page. Could someone point me in the direction of the code that needs to be modified.

 

Jud

Link to comment
Share on other sites

IT is set to true, but all that does is make it show up on the page. I really need the account not to process if they don't put in their company name.

Link to comment
Share on other sites

You'll have to edit the form_check.js.php in /catalog/includes/javascript so that it checks for a value in that field . Look toward the bottom of the file for the check_form(form_name) function. Look the file over it's fairly self-explanatory.

Link to comment
Share on other sites

I figured out how to do it, I just edited the form_check.js.php file. I will post the changes if anyone wants them in a little while.

Link to comment
Share on other sites

I figured out how to do it, I just edited the form_check.js.php file. I will post the changes if anyone wants them in a little while.

Link to comment
Share on other sites

Hi Jud,

 

I figured out how to do it, I just edited the form_check.js.php file. I will post the changes if anyone wants them in a little while.

 

I would be interested. I am in the process of changing my create account.php.

 

Thanks,

 

korsh

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...