Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Attribute with required text field?

    How would I create an attribute that will require a text field to be inputted before checkout for custom printing.

    Example: On product listing they would select the attribute for CUSTOM. This will generate a text field on the checkout screen. Possible? Other suggestions?

    Thank you!

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

    Default Re: Attribute with required text field?

    Create the TEXT attribute and when you add it to the Product, set it to be:
    Attribute Required
    for Text: Yes
    peek in the RED box for this ...
    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!

  3. #3
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Attribute with required text field?

    Thank you very much! How do I adjust the text box so it's bigger? I want to allow enough space for a name, address and phone number.

    Thank you.

  4. #4
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Attribute with required text field?

    Nevermind, I found it.

    Thank you again for your help.

  5. #5
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Attribute with required text field?

    Okay, I have another question.

    I have created another attribute for TEXT and included it in my product listing.

    Is there a way to make it paired in with another attribute.

    For example. If the customer clicks the checkbox CUSTOM then they will be required to enter information in the text field as well.

    Right now it's not required so the customers are able to select the CUSTOM checkbox....and not enter any text.

    I hope that made sense.

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

    Default Re: Attribute with required text field?

    At this time, there are not dependent attributes ...
    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!

 

 

Similar Threads

  1. Make a text attribute required ONLY IF another attribute is set
    By lars in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2012, 08:58 PM
  2. Making Text Field Attribute Required?
    By RiemenDesign in forum General Questions
    Replies: 0
    Last Post: 12 May 2009, 03:46 PM
  3. Problem with required text field
    By Techiant in forum General Questions
    Replies: 4
    Last Post: 5 Mar 2009, 12:31 AM
  4. Can I make an image attribute a required field?
    By Blake81 in forum General Questions
    Replies: 3
    Last Post: 21 Jun 2008, 09:46 PM
  5. 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