Good day! Could you provide me a sample of code so that a browser opens a new page after a client filled out a form?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could you elaborate on what the event would be, when a form is filled out? For example, a button click?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I prefer a button.
Now I also consider a variant when I click on a link and I get a new window when I can fill out a form. The main issue that a page with a from and a page with chat is the same page. So if I plan to insert a form on my site, this page will be reloaded after I filled out a form.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Give this a try...
The code is in the attached HTML file (it's zipped up)
All you have to do is enhance the chat form you present to customers by adding a few lines of javascript to load a pop-up window with a specified URL.
This javascript will be invoked as soon as the chat form is submitted by the customer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.