Im trying to add the Send Enquiry button to a another position on the detail form. (Under the Title )
But when I click it the enquiry link the form starts loading but does not actually get displayed. You can only see the X to close the form
You can see this happening here
http://showroom.ie/showroom/ireland/dublin/dublin-city/cabinet-maker/christy-bird-co/
The SEND ENQUIRY on the Left hand side of the page under the Listing Name does not work while the standard one on the right hand side works perfectly.
Im using Geo Version 1.3.9 and the Avada Theme
A screen print of my code is attached
Any Ideas?
Thanks
dave
thanks
dave
ok the problem is that it searches from the link location for the post id
We can get around this by just making the new link call the old link
Try:
<a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a>
Let us know,
Thx
]]>That works great
Thanks so much
dave
]]>dave
]]>However, I have noticed a trend that enquiries are getting sent twice a lot… this is because it’s not obvious (if you send an enquiry by clicking the “Send Enquiry” button from this new location) if the enquiry for sent or not…. as there is no message under the button in this new location.
I notice there is a class “sucess_msg” that shows the “Enquiry Sent Successfully” message. When I add this just under the new button the success message shows all the time…. instead of just when an enquiry is sent. So I am missing something small:
<a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a>
<p class="sucess_msg">Enquiry Sent Successfully</p>
]]>