Form filling

Discussions about development of VICIDIAL and astGUIclient

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

Form filling

Postby teto114 » Mon Jun 30, 2008 12:37 pm

Matt:

Hi, we are starting a campaign, but the client want us to do the following:

When the agent receives a call, we would like the system to automaically redirect their web browser to a URL with values added to the end. The values are:

SourceiD (Unique ID loaded for that call - we provided)
AgentID
Agent First Name
Agent Last Name

the URL would be in the format ([scriptURL]?[var1]=[value1]&[var2]=[value2]

where the placed holders ([...]) would be replaced with the correct values.

Can you give us some orientation on this please?

Thanks a lot for all your help!

Roberto
teto114
 
Posts: 15
Joined: Tue Jun 03, 2008 6:28 pm

Postby pylinuxian » Mon Jun 30, 2008 3:29 pm

login as admin then in campain page use this in url field :

Code: Select all
http://your_desired_url?field1=<?php echo $variable1; ?>&field2=<?php echo $variable2; ?>&field3=<?php echo $variable3; ?>


I don't have vicidial.php in front of me so you will have to read the source for yourself & replace $variableX with right value used in vicidial.php
pylinuxian
 
Posts: 147
Joined: Tue Feb 26, 2008 2:21 pm

Postby mflorell » Mon Jun 30, 2008 3:33 pm

You could also use the SCRIPT tab with an IFRAME for more control over the URL string without editing any source code.
mflorell
Site Admin
 
Posts: 18399
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Development

Who is online

Users browsing this forum: No registered users and 15 guests