Contact Form in Advert view

Contact Form in Advert view was created by Filipe Madeira

Hi there,

I'm trying to reach something but I'm not able to it yet.

In Advert view, when PopUp too conctat seller I need to meake this:

If Message isnt in blank, then when send close popup and A message should appear with success.

So far, I have in JomClassifieds.js, in line 222 this:
$jomClassifieds(".send").on('click', function( ev ) {
var msg =$jomClassifieds("#message").val();if(msg) {$jomClassifieds(".jomcl-popup-"+modal_id).hide();$jomClassifieds(".jomcl-popup-overlay , .jomcl-popup-"+modal_id).removeClass('active');alert ('Success');}else {alert ('Missing Message');}});

All works fine, with alert message and closes pop up, but I always get 2 alert messages, with the right alert message but always two. Or two success or two missing.

In chrome debugger, I get:

Uncaught TypeError: Cannot set property 'innerHTML' of nullxmlhttp.onreadystatechange @ jomClassifieds.js:94

Can anyone help me on this?

5 years 11 months ago#5862

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

Replied by Super User on topic Contact Form in Advert view

Dear Customer,

Kindly send your site URL, Joomla admin access and FTP details to This email address is being protected from spambots. You need JavaScript enabled to view it.. So that we can check and update you.

5 years 11 months ago#5865

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

Time to create page: 0.146 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
Copyright © 2013-2021 All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.