Hi Max
Where can I set the fieldsize(s) of a dropdown?
Rgds
Kees
Hi Kees,
The dropdown has a "multiple" setting, if its enabled then it will let you pick multiple items, what's the need for the size setting ?
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Because If they choose an item in the dropdown, in this case xx-xx-2017, I don't want this field spread from left to right ...
The field width should be only 11 characters
Rgds
Kees
Hi Kees,
I misunderstood your question, I thought its the "size" property which controls how many items are displayed.
For the element width you can use the "Container class" field under "Advanced", set it to "four wide field", this will be 25% of the full width.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max,
Come on....Yes this sets it to 25%, but I wish a field with of e.g.56
How to do this, working with % is a "fix" to my opinion...
I was looking for something like this
input maxlength="100"
size="56"
Hi Kees,
How much of the total width do you want the field to be ? the widths are fluid for mobile support, you can use the "Extra attributes" box and set the width you want:
style:width:56px;
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Sorry Max, this does not change the width..
Hi Kees,
Well, I think yes, that changes the field width.
How much of the total width do you want the new width to be ?
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
That's not relevant, the width should be adjustable in any value
FYI, style:width: xxpx; does not work...
Rgds
Kees
Hi Kees,
Sure, you can do that, in the "Container class":
field custom_width
Then add a "CSS" block to your section and use this code:
.custom_width{width: 100px !important;}
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Tx Max,
It's a nice workaround, so, if I wish to change other fieldsizes I could work with different classes:
eg
Field 1 (eg text)>>>class: field custom_width_1
Field 2 (eg email)>>class: field custom_width_2
In the CSS you can put this:
.custom_width_1{width: 105px !important;}
.custom_width_2{width: 255px !important;}
In this way, if you don't set the values to high, it shows also nicely on phone, tablets
Hi Kees,
If you like it this way then fine!🙂
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.