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?

visforms 3.2.1 suggestion

More
9 years 10 months ago #1188 by Gabor
visforms 3.2.1 suggestion was created by Gabor
Dear Aicha,

The 3.2.1 Visform version is awesome! I really love to use it and thank you very much for your effort.

Just a small improvement please :-)
My form sitting at the end of the page, but scrolling up automatically when the form is loaded -- because the first input field get focus by JavaScript. Get-focus is great when a filed is required and after submission "grab" the related input.
Can you fix this please?

Best,
Gabor

More
9 years 10 months ago #1190 by Administrator AV
Replied by Administrator AV on topic visforms 3.2.1 suggestion
Hi Gabor,

good to hear, that you like the 3.2 "series" of Visforms.
I think, I was able to provide a lot of new features which were high priority on the feature wish list.

You mave have seen, that 3.2.x are a beta versions and I have already release to new versions, after Visforms users have detected some bugs. But I have not include the Joomla! autoupdater in the beta versions, so you get no message, that there is an update available. I strongly recommend, to download the latest version (3.2.2), which I released yesterday.

About your suggestion. The autofocus in the first form field was a suggestion of users, too, with regard to make Visforms easier to use for people with disabilities. But thanks for your suggestion. I will consider, if there is a better (more flexible) solution.

Or you can make an template override and just remove the code (see below) that set the focus to the first field.
Code:
//set focus to first visible field if (($this->firstControl == true) && ((!(isset($field->isDisabled))) || ($field->isDisabled == false))) { $script = '<script type="text/javascript">'; $script .= 'jQuery(document).ready( function(){'; $script .= 'jQuery("#'. $field->errorId.'").focus();'; $script .= '});'; $script .= '</script>'; echo $script; $this->firstControl = false; }

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
9 years 10 months ago #1192 by Gabor
Replied by Gabor on topic visforms 3.2.1 suggestion
Dear Aicha,

I installed the new version, thank you.

It seems the template override not working for me. First I used to Joomla's default template override feature by template manager, and after that I did it manually, but no result.
The HTML source code is:
Code:
<script type="text/javascript">jQuery(document).ready( function(){jQuery("#field14").focus();});</script>

I removed the code from default_visforms.php (line 52) what you suggested, deleted browser cache, restart it, but the first field get focus again.

Do you have any idea?

More
9 years 10 months ago #1193 by Administrator AV
Replied by Administrator AV on topic visforms 3.2.1 suggestion
Hi Gabor,

do you use the module or the component (= menu of type Visforms) to show the form? If you use the module you have to override the files in from the module. So path to override-file is either
yourTemplate/html/mod_visforms (for the module)
or
yourTemplate/html/com_visforms/visforms (for the component)

Which layout did you select in the form?
Default Layout is created by the file default_visforms.php
Bootstrap Layouts are created by the file default_btdefault.php
So you have to override the correct file.

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 :-).
The following user(s) said Thank You: Gabor

More
9 years 10 months ago #1195 by Gabor
Replied by Gabor on topic visforms 3.2.1 suggestion
Dear Aicha,

You are right. I display forms via modules in articles, but try to override the component...

So thank you very much, now everything working fine.

Best,
Gabor

More
9 years 10 months ago #1196 by Administrator AV
Replied by Administrator AV on topic visforms 3.2.1 suggestion
Hi Gabor,

You are welcome.

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