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
Description

Perhaps Phone CCK should have a "size of textfield" field (defaulting to 60) as many CCK modules have.

#1

artis - December 18, 2008 - 14:14
Version:6.x-2.4» 6.x-2.7

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

tandersonmd - January 7, 2009 - 16:45

Subscribing

#3

theabacus - January 7, 2009 - 18:11

Use CSS to specify a length. DO NOT hard code a length in the module.

#4

thierry_gd - January 10, 2009 - 11:56

Hi theabacus,

How to do that through css ?

#5

davexoxide - April 20, 2009 - 17:03

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

jackinloadup - August 27, 2009 - 19:44

subscribing

im with davexoxide... although we can add css to format the field. The field should follow other CCK fields.

 
 

Drupal is a registered trademark of Dries Buytaert.