Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

How to add a lightbox image after click on submit button

9 years 7 months ago #17960 by erem
Hey Douglas,

I want to add a loading image after a user click submit button (It can be in lightbox or something like that)

Is it possible? If so how do I do it

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17962 by douglas
Dear erem,

Which Contact Enhanced and Joomla versions are you using?

The latest Contact Enhanced version for Joomla 3.3 has changed the submit button so it's disabled and the text changed to "Sending form..." once it's clicked.

Doesn't it replace the need of a Loading image?

Best regards,

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17963 by erem
I use Joomla 2.5.20
and Contact Enhanced 2.5.16

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17964 by douglas
Dear erem,

The latest Contact Enhanced for Joomla 2.5 already displays a spinning image above the submit button, after it's pressed.

Please upgrade your Contact Enhanced package in order to get this feature.

Best regards,

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17965 by erem
I have a special plug-in (that you wrote) and I can not upgrade the version.
Can I do it without upgrading?

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17966 by douglas
Dear erem,

It's way too much work for me to create a new feature for older versions.

Which plugin have I created for you? If it's a new plugin, than it might have no problem one new versions...

best regards,

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17967 by erem
It is "change redirection based on user input" plugin
You wrote it about a year ago
I'm afraid it will not work if I upgrade the version

Is it possible to use javascript to do it?

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17968 by erem
Or onclick function in the Attributes

Please Log in or Create an account to join the conversation.

9 years 7 months ago #17969 by douglas
Dear erem,

If you know Javascript it can be done, however it would be tricky because the form is validated onclick.


I remember. I have created a plugin for you called Contact Enhanced - Custom Code.

It should work fine and the upgrade should not even override your file. Create a backup for safety purposes and after the upgrade make sure your file is in:
/plugins/contactenhanced/customcode/code/onAfterSendForm/

If your file name matches any of the files below it will be overridden:
example-change-redirection-based-on-checkbox-selection.php
example-change-redirection-based-on-user-input.php

If it doesn't work, all you should have to do is save the plugin options again. ;-)


Best regards,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback