Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [eeyipes] Lengthing URL Field for Adding Links

Quote Reply
Re: [eeyipes] Lengthing URL Field for Adding Links In reply to
in your links.def

Code:
URL => [2, 'alpha', 80, 125, 1, 'http://', '^http|news|mailto|ftp'],


the 80 will be the size of the text box in the Admin center and the 125 will be the maximun number of characters allowed within that box.

In your add/modify html pages

Code:
add: <INPUT TYPE=text NAME=URL VALUE="http://" SIZE=80 maxlength=125>
modify: <INPUT TYPE=text NAME=URL VALUE="<%URL%>" SIZE=80 maxlength=125>


set the maxlength to 125 or whatever numbers you choose.


but you may have other issues going on besides the above.


The size of the text boxes in the links.def and html pages ( 80 in the above example ) do not have to be the same. But the maxlength in the html pages should be the size of the maxlength defined in the links.def file ( 125 in the above example ).


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Subject Author Views Date
Thread Lengthing URL Field for Adding Links eeyipes 3141 Feb 1, 2003, 4:11 AM
Post Re: [eeyipes] Lengthing URL Field for Adding Links
Paul 3086 Feb 1, 2003, 4:28 AM
Post Re: [eeyipes] Lengthing URL Field for Adding Links
esm 3078 Feb 1, 2003, 5:01 AM
Post Re: [eeyipes] Lengthing URL Field for Adding Links
wysardry 3089 Feb 1, 2003, 5:01 AM