WebForm AutoPopup and Refresh same Window

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

WebForm AutoPopup and Refresh same Window

Postby rbbumanlag » Tue Oct 16, 2018 9:56 pm

Hi Vicidial,

Specification: ViciBox 8.0.1.(iso) | Asterisk 11.25.3-vici | VERSION: 2.14-682a BUILD: 180807-1653 | Cluster Setup | Intel(R) Xeon(R) CPU E5-2680 V3 @ 2.5GHz | 16GB DDR4 RAM | 1TB (SAS) 10kRPM |No Digium/Sangoma Hardware | No Extra Software After Installation | Virtualized on XenServer | SVN Version 3019

Just want to know if my scenario is possible.

What we want to happen is that, on the first call, we want to autopop up our script then, succeeding cals wil just update/refresh the current popup. This is to avoid multiple open windows.

We could also do manually by clicking webform on the agent portal, then we would like to know if we could just update/refresh the current browser for the popup to avoid multiple browsers.

Thanks!
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: WebForm AutoPopup and Refresh same Window

Postby mflorell » Tue Oct 16, 2018 10:38 pm

That is what the "Web Form Target" campaign option is for. Just put something like "test" in that field and try it out.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: WebForm AutoPopup and Refresh same Window

Postby rbbumanlag » Tue Oct 16, 2018 11:50 pm

Hi mflorell,

I am puzzled on the use of the web form target, when I use test on Web Form Target with GetLaunch None,then manually clicking the Webform button.

it display the echo output of my test.php file and does not execute my script to redirect the webpage.

but when I use GetLaunch WEBFORM, my test.php is running.

But problem is that it is always creating a new pop up even though web form target is test.

checked the script and just to confirm if this is the same with windows.open javascript with parameter name?

Also will the Inbound Groups follow the declared web form target in the campaign?

Thanks!
Last edited by rbbumanlag on Wed Oct 17, 2018 3:23 am, edited 1 time in total.
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: WebForm AutoPopup and Refresh same Window

Postby rbbumanlag » Wed Oct 17, 2018 2:34 am

My vicidial server is using https.

also my Webform Url is using https. But using Inspect Element, I am getting this error.

Blocked loading mixed active content “http://test.example.com/test.php?lead_ID=1234&phone=12345678&recording_filename=DEMO_testuser_20181017-151952_12345678”

Just checking if this will cause to echo test.php when clicking the webform.

Just weird since I am passing “https://test.example.com/test.php?lead_ID=1234&phone=12345678&recording_filename=DEMO_testuser_20181017-151952_12345678” but in the console it is seeing “http://test.example.com/test.php?lead_ID=1234&phone=12345678&recording_filename=DEMO_testuser_20181017-151952_12345678”
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 119 guests