Needs review
Project:
Links Package
Version:
5.x-1.8
Component:
Code: links_weblink.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Mar 2008 at 22:43 UTC
Updated:
21 Jan 2009 at 04:04 UTC
I'm not really sure if this is the right way to go about this, but I'd like to increase the maxlength attribute of the Link URL field in the node creation form. The form is setting that value to 128, although there seems to be no limit on the url field in the links table of the database. So the attached patch inserts the following line into function links_weblink_form when it is creating the $form['links_weblink_url'] array:
'#maxlength' => 512,
| Comment | File | Size | Author |
|---|---|---|---|
| links_weblink_maxlength.patch | 395 bytes | john bickar |
Comments
Comment #1
syscrusher commentedI have added this to the release to be posted tonight.
Comment #2
syscrusher commented