Welcome, Guest
Username: Password: Remember me

TOPIC: set datefield size

set datefield size 16 Feb 2013 14:42 #6785

  • LJ01
  • LJ01's Avatar
  • Offline
  • Senior Member
  • Posts: 78
  • Thank you received: 2
  • Karma: 0
Hi
how to set the size of date field ?
LJ
Ce sont les fils qui font les cordes
ingall-niger.org
The administrator has disabled public write access.

Re: set datefield size 18 Feb 2013 11:11 #6807

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @LJ01

Does setting the size not work?

I have to admit, I've never specified a size for any calendar control inputs as they always work out OK for me however, your template may be overriding this in it's main CSS.

The calendar control is actually just a text input field that has a bunch of JS attached to apply a datepicker to it. Therefore, it probably gets named slightly differently to your usual #jform_fieldname.

If you have tried specifying it's size but it's not obeying your specifications, try debugging the source HTML in firebug or other dev tools to see what CSS properties/classes are getting applied as well as the input ID of the text input. From there you should either be able to modify your JDom call or CSS to achieve your desired size.

Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.090 seconds

Get Started