Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
callcrazy wrote:In our setup we use the popup script so I'm not sure if this will work from an iframe.
When agents make changes on our script we write the changes back to the main vicidial lead details form.
Requirement is the script has to be running on the same domain as your agent page. Then you can reference the vicidial form fields like so:
window.opener.document.getElementsByName("phone_number")[0].value = "9999999999";
mflorell wrote:You can use the API to update the lead. If it is still an active call you can use the Agent-API, if not you can use the non-Agent-API:
http://www.vicidial.org/docs/AGENT_API.txt
http://www.vicidial.org/docs/NON-AGENT_API.txt
Users browsing this forum: No registered users and 152 guests