Board Logo

Display size of date input field
Ravenstar - 12/3/2003 at 10:15 AM

The size of the date display box in a form is much bigger than I need, as if it is allowing for the time which I am not in need of, just the date. Is there a way to make the display box smaller?


tschuber - 2/24/2004 at 12:45 PM

this has been testet whith IE and the modal calendar only:

1. edit your configuration file(cal_tpl.js). (the line:'size' : 6,' is new)

// input text field to store the date & time selected (INPUT type="text")
'datacontrol': {
'size' : 6,
'width': 5,
'maxlength' : 8,
'class': 'calDatCtrl'

2. edit the code(calendar.js). Search for '<table cellpadding="0" cellspacing="0" border="0" width='. Set a lower width.

Silly - 3/18/2005 at 08:39 AM

Have I been waiting for this .... thanks

Back to forum: