Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Fields and Required Fields


jaffy1229

Recommended Posts

Posted

hi,

 

can anyone tell me which scripts deals with the fields on the page for creating an account? I would like to remove a few fields that I don't feel neccessary.

 

Also how would i make a required field not a required field?

 

thanks for any help

 

cheers,

 

jaffy

Posted

You can disable the fields through Admin -> configuration -> Customer details

Posted
You can disable the fields through Admin -> configuration -> Customer details

 

thanks kagg, but i want to remove the 'countries' field, and there is no refernce to that field in the admin.

 

i'm trying to edit create_account.php where i have removed countries field, but it is required so i'm only halfway there.

 

thanks for the help.

 

cheers,

 

jaffy

Posted

I don't know why I am not receiveing notifications from the forums. :(

 

Remove the following line from /catalog/includes/form_check.js.php:

 

check_select("country", "", "<?php echo ENTRY_COUNTRY_ERROR; ?>");
Posted
I don't know why I am not receiveing notifications from the forums.  :(

 

Remove the following line from /catalog/includes/form_check.js.php:

 

I removed this line which stops IE from popping up a dialog box asking for a required field, but the script still complains if you don't fill in a required field after you click on 'continue'

 

I tried removing required boxes and giving them hidden values and although it works, when i placed a test order, the address is blank in the admin, which is pretty useless :'(

 

any other ideas?

 

cheers,

 

jaffy

Archived

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

×
×
  • Create New...