Page 1 of 1

WebForm AutoPopup and Refresh same Window

PostPosted: Tue Oct 16, 2018 9:56 pm
by rbbumanlag
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!

Re: WebForm AutoPopup and Refresh same Window

PostPosted: Tue Oct 16, 2018 10:38 pm
by mflorell
That is what the "Web Form Target" campaign option is for. Just put something like "test" in that field and try it out.

Re: WebForm AutoPopup and Refresh same Window

PostPosted: Tue Oct 16, 2018 11:50 pm
by rbbumanlag
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!

Re: WebForm AutoPopup and Refresh same Window

PostPosted: Wed Oct 17, 2018 2:34 am
by rbbumanlag
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”