WebSite X5Help Center

 
Sinisa B.
Sinisa B.
User

Message on successful form submission?  en

Author: Sinisa B.
Visited 302, Followers 2, Shared 0  

Hi girls & guys,

Is there a way that - upon the successful form submission - the visitor gets a "pop-up" confirmation message on the same CONTACT page?

I don't want to make a particular "THANK YOU" page for that purpose...

Thank you in advance for the tips!

Posted on the
13 ANSWERS
Esahc ..
Esahc ..
Moderator

Sinisa, it's not that onerous. I just create a thankyou page (hidden) with a timeout.

My effort is at https://www.esahc.com and click on contact to send me a message as a test.

Read more
Posted on the from Esahc ..
Wsx5.afsoftware.fr  
Wsx5.afsoftware.fr  
User

@Esahc,

timeout ? X5 does not provide this one ? 

html page hand made ?

or code added into x5 page with HTML properties like  ???

<body onLoad="setTimeout(window.close, 5000)>

Read more
Posted on the from Wsx5.afsoftware.fr  
Esahc ..
Esahc ..
Moderator

Sprung - to the best of my knowledge it is the only bit of 3rd party code I use in any website . . . 

In an html object on the page

<script>setTimeout(function(){window.location.href="/"},12000);</script>

I'm sorry - I try to remain pure (but sometimes I fail) . . . . 

Read more
Posted on the from Esahc ..
Sinisa B.
Sinisa B.
User
Author

@ Esahc ..

Thank you for your reply!

I have filled out your contact form - but it's not what I had in mind when I wrote about the pop-up message.

Let me explain:
Upon pressing the SEND button - the visitor should get an instant (pop-up) message on the same HTML page (i.e. contact.html), saying something like: "Thank you for your message!".

Of course, if the message is successfully submitted...


There will be no redirection on the THANK_YOU.html page - the visitor should stay on the contact.html page where the FORM is.

Is this doable in X5 without the extra code or not?

Thank you!

Read more
Posted on the from Sinisa B.
Jim C.
Jim C.
User

Hi Sinisa B,

Have a look at www.naphillvillagehall.org.uk select contact details, them email web master enter your message then click send button on page, you will then get a thank you message. Is this what you mean and want ?

Jim

Read more
Posted on the from Jim C.
Sinisa B.
Sinisa B.
User
Author

@ Jim


Thank you for your reply - I do not want to bother people posting TEST e-mails.


Since I have not been clear enough, here it is (step by step):

1. Visitor fills the contact form;

2 Presses the SUBMIT button;

3. The message has been sent successfully via form's script;

4. The visitor sees a POP-UP message (something similar to this)

(this message is on the same HTML page - no redirection to some other HTML page))


Is this doable in X5?


(probably not)

Best!

Read more
Posted on the from Sinisa B.
Incomedia
Stefano G.
Incomedia

Hello Sinisa

As hinted by the other users as well, this is only achievable through a redirect. The contact form offers the possibility to redirect to a custom page specifically for this:

Generating a message that appears after the email has been sent would not be possible with the way the contact form has currently been built. It is mandatory that a new page is specified as redirect if you wish to let the users know that the email was sent successfully.

Finally, I believe that if you were to try and integrate something like this in the already generated code of the software, you would need to integrate additional custom code to the page.

I apologize for not being able to help further with this, but I hope I was helpful nonetheless

Thank you

Stefano

Read more
Posted on the from Stefano G.
Sinisa B.
Sinisa B.
User
Author

@ Stefano

Thank you for the reply.

I was thinking that someone here has the custom code for that.

Anyhow, I'll make this post as an IDEA - and hopefully someone of the developers will put this on the TO DO list....

Read more
Posted on the from Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Sinisa B.
... ... ... I was thinking that someone here has the custom code for that. ... ... ... 

(It > En) ... you could use a dialog JS window,
... but it doesn't work the same way in all browsers ...
... you can try and see an old example of mine > here ...
... the code you would like is the one on line nr.7
...
...!...  or, ... if you can indicate or edit the Landing Page, you could take a cue from my other unique example:
... the page> AEREO ... opened from this same link opens regularly;
... instead, the AEREO page opened by the link of this page > LOCOMOTIVA, will always return back to the LOCOMOTIVE page ...

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Author

@ KolAsim

Thank you very much - but the pop-up message I need should be activated by the successful form submission only.

Instead of the opening the other HTML page (thank_you.html) - it should open the pop-up message on the same page (on the same HTML containing the contact form) and inform the visitor that the message has been sent...

If you use MOBIRISE - it has a "built-in" simple form handler (default theme) - which upon the form submission just informs the visitor with the line of text (over the form) that the message have been sent. No redirection to some other HTML page...

Again, thank you for the effort!

@ Axel 

Thank you!

I can handle pop-up messages (on load or on click) - but it will be great if - instead of redirecting the visitor upon the form submission to some thank_you.html - the visitor gets notification on the same page (where the contact form is) with the pop-message.

You, know - something like in MOBIRISE form handler (the default theme).

Best!




Read more
Posted on the from Sinisa B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Sinisa B.
@ KolAsim Thank you very much - but the pop-up message I need should be activated by the successful form submission only. ... ... ... ... 

(It > En) ... my example LOCOMOTIVA / AEREO simulates sending the form ...
... would automatically go to INDEX to return immediately to the same page as the form with a warning message where you can put what you want ...
... in fact, if you notice, in the LOCOMOTIVA page, clicking on AEREO it seems to always remain in the LOCOMOTIVA page ...
... it would be necessary to insert my code both on the form submission page and on the INDEX page if this is the page intended for redirection ...

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Sinisa B.
Sinisa B.
User
Author

@ KolAsim ‪ 

Thank you!

OK - I'll have to check it out!

Read more
Posted on the from Sinisa B.