Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Contact Form

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Contact Form

More
11 years 1 month ago #15003 by rhart
Contact Form was created by rhart
Hi,

is it possible to set all the fields in the contact form so that they are required and checked ? Currently only the email field seems to be required and when all the other fields are empty the email is still being send..

Thanks
More
11 years 1 month ago #15093 by loic
Replied by loic on topic Contact Form
Hello,

In the file 'components/com_adsmanager/views/message/tmpl/default.php', line 17 you can see this code:
if (form.email.value == "") {
            alert( "<?php echo JText::_('ADSMANAGER_REGWARN_EMAIL');?>" );
        } else {
            form.submit();
        }

You just have to replace it by something like this:
var check = true;
 
if (form.email.value == "") {
      alert( "<?php echo JText::_('ADSMANAGER_REGWARN_EMAIL');?>" );
      check = false;
}
if (form.name.value == "") {
      alert( "<?php echo 'Name needed';?>" );
      check = false;
}
 
if(check === true) {
     form.submit();
}

You can add any field you wish to make mandatory.

Best regards.
Time to create page: 0.069 seconds
Powered by Kunena Forum