Welcome Guest. Please Login or Register  


You are here: Index > SitePad Website Builder > General Support > Topic : Contact Form



Threaded Mode | Print  

 Contact Form (8 Replies, Read 1417 times)
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
So where do the messages your customer sends using the contact form go anyway? And where can I change this so that the messages go to a specific email address?.
IP: --   

Contact Form
aakash_softac
Group: Softaculous Team
Post Group: Elite Member
Posts: 409
Status:
Hi,

You will need to configure the Contact Form using SMTP/PHP:
https://sitepad.com/wiki/Configure_SMTP/PHP_Mail

Once it is configured it will be sent to the given specific address.

Do let us know if you need any other information.

-----------------------
Aakash Gupta
SitePad Developer

Follow us for faster updates
Twitter: https://twitter.com/sitepad_editor
Facebook: https://facebook.com/SitePad
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
Quote From : aakash_softac September 5, 2018, 10:02 am
Hi,

You will need to configure the Contact Form using SMTP/PHP:
https://sitepad.com/wiki/Configure_SMTP/PHP_Mail

Once it is configured it will be sent to the given specific address.

Do let us know if you need any other information.

I tested it with my gmail account and this seems to just flat out not work, does it only work with gmail accounts if I'm using the SMTP mail protocol or something? And if so, then how do I set up the PHP mail then? Since unless there is some delay between someone pressing the contact us button and the email being sent then something's wrong.
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
cfa.engine.min.js:2 Uncaught TypeError: Cannot read property 'errors' of null
    at Object.success (cfa.engine.min.js:2)
    at j (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at x (jquery.js:5)
    at XMLHttpRequest.b (jquery.js:5)
success @ cfa.engine.min.js:2
j @ jquery.js:2
fireWith @ jquery.js:2
x @ jquery.js:5
b @ jquery.js:5
XMLHttpRequest.send (async)
send @ jquery.js:5
ajax @ jquery.js:5
(anonymous) @ cfa.engine.min.js:2
dispatch @ jquery.js:4
r.handle @ jquery.js:4
szp-embed.min.js:1 Uncaught TypeError: Cannot read property 'secret' of null
    at a.szp.receiveEmbedMessage (szp-embed.min.js:1)
a.szp.receiveEmbedMessage @ szp-embed.min.js:1

When I checked the website in Chrome's inspector mode this message popped up whenever I tried to send a message.
http://www.pentaglobalinterior.com/contactus.html

This is the website^
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
Okay so I think this is a problem with the javascript of the contact form widget, but I have no idea how to fix that, can someone give me an alternative or find a fix for me soon please? Thank you.
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
So the website apparently doesn't load the form-core.js script, and I have no idea where to place that or even if I should place that anywhere, can someone please advise? Thank you.
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
So apparently I traced it to the following errors:
The website doesn't have the form-core.js in the 'js/shims' folder.
shims.css does not exist.
The website cannot read the property of 'secret'
The website cannot read property of 'errors' from 'null.
As detailed in the following:

jquery.js:5 GET https://www.pentaglobalinterior.com/js/shims/styles/shim.css 404 ()
attr @ jquery.js:5
e.attr @ jquery-migrate.min.js:2
m.access @ jquery.js:4
m.access @ jquery.js:4
attr @ jquery.js:5
(anonymous) @ cfa.modernizr.min.js:4
_polyfill @ cfa.modernizr.min.js:4
(anonymous) @ cfa.modernizr.min.js:4
(anonymous) @ cfa.engine.min.js:2
j @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
J @ jquery.js:2
form-core.js:7 Uncaught SyntaxError: Unexpected token <
5The deviceorientation events are blocked by feature policy. See <URL>
2szp-embed.min.js:1 Uncaught TypeError: Cannot read property 'secret' of null
    at a.szp.receiveEmbedMessage (szp-embed.min.js:1)
a.szp.receiveEmbedMessage @ szp-embed.min.js:1
cfa.engine.min.js:2 Uncaught TypeError: Cannot read property 'errors' of null
    at Object.success (cfa.engine.min.js:2)
    at j (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at x (jquery.js:5)
    at XMLHttpRequest.b (jquery.js:5)
success @ cfa.engine.min.js:2
j @ jquery.js:2
fireWith @ jquery.js:2
x @ jquery.js:5
b @ jquery.js:5
XMLHttpRequest.send (async)
send @ jquery.js:5
ajax @ jquery.js:5
(anonymous) @ cfa.engine.min.js:2
dispatch @ jquery.js:4
r.handle @ jquery.js:4

How do I fix this so that I can actually get the contact form to work?
IP: --   

Contact Form
satutech
Group: Member
Post Group: Newbie
Posts: 25
Status:
Okay so apparently google changed it's reCaptcha Javascript a couple of weeks ago and now most WP and apparently Sitepad reCaptcha using javascripts are broken, and apparently the fix involves replacing the following line.

Quote
  if(d.secret||d.message||d.value)

With the following line
Quote
if(!d||!(d.secret||d.message||d.value))return;

With a note to

Quote
(be carefull, the first one hasn’t got semicolon and the second one has got semicolon)

And that the issue with him was
Quote
“I agree the check should be there but isn’t the issue the generic “message” event that both wp-embed.min.js and Recaptcha’s recaptcha__en.js are using? So receiveEmbedMessage is being called by Recaptcha without the proper arguments.”

Can someone help me fix this? Right now it works without reCaptcha but it would be pretty good if I could get that back up and running again to prevent spam. Thank you in advance.
IP: --   

Contact Form
aakash_softac
Group: Softaculous Team
Post Group: Elite Member
Posts: 409
Status:
Hi,

We do not use any js files directly we use the Google API for reCaptcha. And it is working fine on our test server.

Can you provide us with the screenshot of the error?

Do let us know.

-----------------------
Aakash Gupta
SitePad Developer

Follow us for faster updates
Twitter: https://twitter.com/sitepad_editor
Facebook: https://facebook.com/SitePad
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 15, 2019, 8:52 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.238