Field length
theabacus - December 4, 2008 - 15:47
| Project: | Phone (CCK) |
| Version: | 6.x-2.7 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Perhaps Phone CCK should have a "size of textfield" field (defaulting to 60) as many CCK modules have.

#1
Does anyone know how we can expose the size of textfield field or at least hardcode in a length like 20 in the module?
#2
Subscribing
#3
Use CSS to specify a length. DO NOT hard code a length in the module.
#4
Hi theabacus,
How to do that through css ?
#5
just identify the ID of the input field and add something similar to your css file
#edit-field-home-phone-0-value-1 {width: 120px;
}
Why do we not allow #size and #maxlength to alter this field?
#6
subscribing
im with davexoxide... although we can add css to format the field. The field should follow other CCK fields.