Page 1 of 1

Two submit buttons in dispo screen

PostPosted: Wed Mar 14, 2018 10:03 am
by dspaan
This seems trivial but why are there two submit buttons in the dispo screen?

Image

Re: Two submit buttons in dispo screen

PostPosted: Wed Mar 14, 2018 11:05 am
by blackbird2306
The above "SUBMIT" disposes lead with the selected status (same as double click on one status). The lower one "Web Form Submit" disposes lead and simulates at the same time webform one button click! Very useful, when call has finished but customer won't hangup and listens to the agent, so the agent has to hangup call. Then there is no other way to use webform button anymore.
But there is a bug with this button, it doesn't work with custom_fields in webform url. I found it some years ago and fixed it in my system

Re: Two submit buttons in dispo screen

PostPosted: Wed Mar 14, 2018 11:51 am
by williamconley
"Web Form Submit" activates the "Web Form" button available on the agent screen in addition to the disposition, popping a new page just like the "Web Form" button on the agent screen. Program the Web Form URL in the Detail View of the Campaign.

Note that leaving this field blank will send an inordinate amount of information to a sourceforge URL that you probably don't want to get the information in question (such as the User's Password?). So research the Web Form and never leave the Web Form field blank (even x.php would at least block the data send, but /vicidial/welcome.php would be cleaner). We've had a few clients program a special x.php page that says simply "Don't push that button any more."

Re: Two submit buttons in dispo screen

PostPosted: Wed Mar 14, 2018 12:53 pm
by blackbird2306
Ok, but this is probably only valid for very old versions. No leaving it blank is harmless for me and no problem! Webform url fields are blank with fresh install and clicking on webform button with blank field sends the data to vicidial.php self

Re: Two submit buttons in dispo screen

PostPosted: Wed Mar 14, 2018 2:23 pm
by williamconley
blackbird2306 wrote:Ok, but this is probably only valid for very old versions. No leaving it blank is harmless for me and no problem! Webform url fields are blank with fresh install and clicking on webform button with blank field sends the data to vicidial.php self

I think you're mistaken. AFAIK the web form button has always sent it to the same place unless you change settings somewhere. Hasn't changed since the addition of the button. Sends it to sourceforge.