Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default fixed size text box attribute possible?

    hi,

    Is there a way to create a fixed size text box attribute? i.e. it has a certain number of rows and columns for the user to enter text. If code needs to be changed it would be great if someone could point me in the right direction.

    nazza

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

    Default Re: fixed size text box attribute possible?

    You can change a text attribute in the Option Names to a textarea by setting rows and columns ... and you can limit the number of characters ...

    Just go to the Option Name Manager and hit Edit ...

    Is that what you are looking for?
    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!

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: fixed size text box attribute possible?

    I need to be able to set the maximum number of rows allowed and the maximum number of columns allowed. For example a box where the user can enter a max of 4 lines of input and each line must be less than 30 characters. Basically a text box where no scrolling is allowed. From what I can see the attribute system doesn't allow this because I can press enter repeatedly and the box will scroll. Is this right?

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

    Default Re: fixed size text box attribute possible?

    Correct ... a textarea is too open for that ...

    Can you utilize Option Names:
    Line 1
    Line 2
    Line 3
    Line 4

    And then you just need to worry about the length?
    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!

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

    Default Re: fixed size text box attribute possible?

    Note: this way each of the Option Names can have a maximum set for the length and if need be you have the freedom of varing length per Option Name ...
    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
    Jan 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: fixed size text box attribute possible?

    At the moment the number of characters is limited in the text box so isn't there a way of limiting the number of newline characters? Are there known problems with doing things like this?

    I might have to use your suggestion of many text attributes but it just seems messy. Thank you for your quick responses and help.

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

    Default Re: fixed size text box attribute possible?

    I cannot think off the top of my head a better way to do this without a lot of custom coding etc.

    The Option Name limit on the maximum literally stops the customer from being able to type any more ... makes for an obvious "Don't do that!" message to the customer ...
    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!

 

 

Similar Threads

  1. Replies: 2
    Last Post: 19 Sep 2012, 03:51 AM
  2. Having a fixed Attributes dropdown box size?
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Apr 2009, 01:55 AM
  3. Attribute text box size in IE6 not working Is there a fix?
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Nov 2007, 11:45 PM
  4. Attribute - product size vs shipping box size
    By evolver in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 24 Sep 2007, 03:20 AM

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