Webmastersite.net
Register Log In

Changing a text field length
2 questions on text field settings

Comments on Changing a text field length

mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 09, 2007 - 8:57 AM:

Hello everyone,

Have 2 questions about field lengths - I know how to change the box widths on the suggestlink.tpl so that is not the question

Q1. On the suggestlink.tpl the description length is set to 100 characters if I am not mistaken and would appear to be controlled by {DESCRIPLENGTH}

How do I increase or decrease the amount of characters allowed, did have a good look around but could not find {DESCRIPLENGTH}

Q2. When setting up an extra text field eg. {LINKBIO} am I correct in think that I can limit the number of characters input and subsequently displayed by using ' max characters 'facility or am I also going to have to set the number of characters in the Database as well

Mel
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 09, 2007 - 11:31 AM:

1) Admin->Settings->Links, set number of characters for descriptions.

2) Use the HTML maxlength="20" for input boxes. I don't think there's a native html way to limit textareas so you'd have to use a javascript hack, like the description does.
mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 09, 2007 - 12:38 PM:

[quote=Paul]1) Admin->Settings->Links, set number of characters for descriptions.quote]


Thanks Paul - I looked everywhere except the most obvious place, I will look harder next time

Melsmiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.