Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help! - Required attributes not working

Help! - Required attributes not working

Locked

Views: 689

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
14 May 2009, 1:19 PM
#1
riemendesign avatar

riemendesign

New Zenner

Join Date:
Dec 2008
Posts:
33
Plugin Contributions:
0

Help! - Required attributes not working

Hello,

I have two text fields that are marked down as required fields, but when I click on add to cart the product goes through anyway.

This was working fine about a month ago.

Any ideas????

Thanks.

14 May 2009, 4:12 PM
#3
riemendesign avatar

riemendesign

New Zenner

Join Date:
Dec 2008
Posts:
33
Plugin Contributions:
0

Re: Help! - Required attributes not working

Thank you!

Problem is fixed with the following code:

INSERT INTO `configuration` VALUES ('', 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, '2007-06-06 16:47:03', NULL, 'zen_cfg_textarea_small(');  

Just like you said in the other post!

Thanks again.

14 May 2009, 6:07 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help! - Required attributes not working

Thanks for the update that the add on was in fact the cause of the broken TEXT require attribute and that you were able to fix it ... :smile: