Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Need to set text limit

Quote Reply
Need to set text limit
In my directory (see http://www.virtualassistantnetworking.com/directory/) there is a field to enter a description. I need to limit the number of characters for this field as we are getting full page descriptions in there otherwise!!! How do I do that?
Quote Reply
Re: [therelief] Need to set text limit In reply to
Try this:

In your admin, go to database... under editor use the drop down to goto links -> properties.

Click the description and change the column size...

Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Need to set text limit In reply to
I went to that but it says Column Size is only for CHAR types, and this is a TEXT column type. Will it still work?
Quote Reply
Re: [therelief] Need to set text limit In reply to
http://www.gossamer-threads.com/...orum.cgi?post=290770

the above talks about using a regex to limit it

http://www.gossamer-threads.com/...tion%20limit;#214631

this one talks about using javascript to limit it

http://www.gossamer-threads.com/...tion%20limit;#282304

Here someone made the same mistake I did...

Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Need to set text limit In reply to
What is a regex? I'm not a programmer or a coder so y'all really need to speak plain English for me, LOL.
Quote Reply
Re: [therelief] Need to set text limit In reply to
Regex (short for regular expression) is just the field that contains a regular expression or search pattern of your field. The form regex, found in Table Editor under Form Information can limit what can be added to the field in the mysql table.

Hope this helps,

- Jonathan