Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2007
    Posts
    30
    Plugin Contributions
    0

    Default How to make text box attribute required and maximum length?

    How can I make a text box attribute be REQUIRED so that they can't just submit it with no content, and also how do I limit the number of characters that they can use? :)

    Thanks!

    David

  2. #2
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    I am also interesting in this topic.
    My 1st ZenCart Here

    I donated to Zen Cart!! Thank you for helping me!

  3. #3
    Join Date
    Jul 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    As am I.

    My understanding was that the required setting on attributes would prevent empty submittals in text attributes, but not so.

    Any input would be greatly appreciated.

  4. #4
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    Quote Originally Posted by Luxferre View Post
    As am I.

    My understanding was that the required setting on attributes would prevent empty submittals in text attributes, but not so.

    Any input would be greatly appreciated.
    Has anyone figured this out?

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

    Default Re: How to make text box attribute required and maximum length?

    If you edit the Attribute and check the box:
    Attribute Required
    for Text:
    No Yes
    Then, go to the Options Name Manager and edit the Option Name and set the rows and size of the text input or text area box that you want to use ...
    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: v1.5.5]
    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
    Oct 2007
    Location
    Australia
    Posts
    883
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    You all may be interested in this post, I found that it solved my problem of the text not being required no matter what I did as I have the IH2 mod installed a long time ago....wasn't until I added a text attribute that I ran into this though, and thios post fixed my problem right up
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

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

    Default Re: How to make text box attribute required and maximum length?

    Thanks for posting that link to the post on: Required attribute function works no longer so that others can see one of the solutions that may fix problems with Required TEXT Attributes due to the use of an Add-on such as the Image Handler due to a typo ...
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    883
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    Most welcome, I hope it helps LOL
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  9. #9
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: How to make text box attribute required and maximum length?

    You all may be interested in this post, I found that it solved my problem of the text.Thanks for this post.

 

 

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. v139h How do I make a Text Attribute input box smaller?
    By dandandanpie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Mar 2012, 08:22 PM
  3. Maximum Characters for Text Box Attribute
    By MaryK in forum Bug Reports
    Replies: 1
    Last Post: 2 Apr 2007, 06:56 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR