Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Red asterisk on required attributes & issue with required attribute

    Hello zenners,

    1) Any idea how i can add a red asterisk at each required attribute?

    2) Also i don't know why but even when a customer fills in the required attribute an error still appears upon adding to cart:

    On the Option for: ............ You picked an Invalid Selection: User Input Required

    On the Option for: ................ You picked an Invalid Selection: User Input Required

    On the Option for: ................ You picked an Invalid Selection: User Input Required

    On the Option for: ............................. You picked an Invalid Selection: User Input Required

    3)Anyway to set one attribute should require a re-entry of the previous attribute and system should make sure both are the same? (like you usually find "confirm email address)

    Thank you all for taking your time to help me!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Red asterisk on required attributes & issue with required attribute

    A link to where this can be seen would assist
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Red asterisk on required attributes & issue with required attribute

    Quote Originally Posted by kobra View Post
    A link to where this can be seen would assist

    Hi,

    Here: http://chequesplus.com/index.php?mai...&products_id=1

    Thanks

  4. #4
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Red asterisk on required attributes & issue with required attribute

    Hello,

    I'm still haveing the same issue, i have products with multiple attributes and even when customer fills in ALL attributes an error message will still come up:

    Name:  Capture.JPG
Views: 282
Size:  44.2 KB

    None of the attributes are set as "Required" in the attributes controller (However i do want some to be required)

    Another thing to note, that by clicking add to cart again after the error is displayed, the item will be added to cart successfully

    Here is a link to a product page where i have this issue:

    http:// cheques plus . com /index.php?main_page=product_info&cPath=1_9&products_id=1

    Thanks in advance!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Red asterisk on required attributes & issue with required attribute

    If you look, via phpMyAdmin, at the table:
    configuration

    Do you have a record for the configuration_key when you search for configuration_key:
    TEXT_PREFIX

    If not, can you try adding this to your database:
    Code:
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, now(), now(), NULL, NULL);
    Does this fix the problem?

    If you do already have a configuratin_key for:
    TEXT_PREFIX

    what do the values read on this record?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Red asterisk on required attributes & issue with required attribute

    Quote Originally Posted by Ajeh View Post
    If you look, via phpMyAdmin, at the table:
    configuration

    Do you have a record for the configuration_key when you search for configuration_key:
    TEXT_PREFIX

    If not, can you try adding this to your database:
    Code:
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, now(), now(), NULL, NULL);
    There was no record for TEXT_PREFIX,

    i added the above record, this fixed the issue that the option names didn't come up on the error message, however i still get the message even on attributes not set as required and even the user DID input the information.

 

 

Similar Threads

  1. Attribute with required text field?
    By joyjoy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Oct 2010, 03:41 AM
  2. Problem with Required attributes after moving attributes to product listing page
    By bigmo337 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Jun 2010, 12:03 AM
  3. Struggling with Required Attributes
    By NotHollister.com in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Dec 2008, 02:56 AM
  4. Marking required text attribute fields with an * or (required)?
    By fepb in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Mar 2007, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg