Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Select box max characters

More
10 years 4 months ago #670 by depika
Select box max characters was created by depika
I am creating a form that has a select box.
The text I want to display at the text box gets truncated (the text I would like to add is quite big).

What changes do I have to make in order for the select box to display bigger text?

More
10 years 4 months ago #672 by Administrator AV
Replied by Administrator AV on topic Select box max characters
Hi,

sorry for the late answer, but I was out of office on friday and on weekend.

The text should not be truncated but be shown with line breaks. If it is truncated that comes form your templates css which may overwrite settings in visforms css.

You can us a developer tool like the google chrome built in developer tools or firebug for firefox to figure, which css rule is used and correct it.

Another way to include longer texts is, to use the "Custom Text", which you can find in the "Advanced" Options of each field. This text is displayed beneath the field. So if you want to place a longer text above a field, you can us a separate field of type "field separator", place this field separator field above the checkbox field, set the field separator field option "Border not visible" to yes and enter the text in the field separator field "Custom Text".

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
10 years 4 months ago #676 by depika
Replied by depika on topic Select box max characters
Thank you for your answer

I changed the file visfield.xml
under administrator\components\com_visforms\models\forms
Code:
<field name="f_select_value" type="text" label="COM_VISFORMS_VALUE" description="COM_VISFORMS_SELECT_VALUE_DESC" class="inputbox" size="50" maxlength="100" /> <field name="f_select_select_label" type="text" label="COM_VISFORMS_LABEL" description="COM_VISFORMS_SELECT_LABEL_DESC" class="inputbox" size="50" maxlength="100" id="f_select_label" />

before for these two fields the maxlength was set to 50. Now that I had set it to 100 the text is not truncated.

More
10 years 4 months ago #677 by Administrator AV
Replied by Administrator AV on topic Select box max characters
Hi,

thanks for that feedback.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum