Three-Page Call Request (HTML)

By adding three pages to your web rather than one you have the ability to add your corporate style to the success and failure report pages, integrating WebCallback more closely with your site. After reading these notes you may want to get the form without the technical notes, which is easier to modify for your needs.

You can make some simple modifications to allow you to test this code in your site. If this example seems too complex for your initial needs, take a look at the single-page example, or sign up online and use the standard call forms.

Before going any further you should test this form to be sure you are starting with a working page. We have provided a drop-down to allow you to select the country code.  Enter your number and click the "Call Me Now" button.

1. Select the country you are in
2. Enter your number
3. Select a time for the call if necessary *
4. Click here!

The next page you see will either be a failure report or a success report.  These pages are not the standard GlobalPhone pages, however.  You can arrange for them to be a part of your web, giving you more complete control over the browser experience.

If you see a success report, after a few seconds your browser will jump to the WebCallback Home Page and you should receive a call from GlobalPhone.

Changes You Must Make

To put this more complex processing into your webs you need the source of this page, and also of the Success.htm and Failure.htm pages from the same directory.

Just take the HTML source of the three pages and put it into your webs, adding appropriate look-and-feel and removing text you don't want your readers to see (don't forget the cut-down version of the form). We include links to each page here so you can use your browser to get the page sources:

Then call GlobalPhone, or have us call you via WebCallback, to set up a called number, obtain a site identifier, and authorize test calls from your web if you haven't already done so. (The site identifier can be obtained by signing up online.

You will need to change the HTML to use your number rather than GlobalPhone's.  You do this by replacing "globalphone" with your own site identifier in the part of the code which reads:

<input type="hidden" name="SiteId" value="globalphone">

If you don't want your successfull calls to end up at the Web Callback home page, you should edit the part of the HTML which reads:

<input type="hidden" name="ReturnPage" value="http://www.webcallback.com">

so the Callback processor returns to a page inside your web.

You will also need to edit the values of two other hidden parameters: SuccessPage and ErrorPage to make the URLs point to the pages in your site.

The ReturnPage, SuccessPage and ErrorPage fields should be complete URLs, with or without the leading http:, such as //www.microsoft.com/ -- this might be useful if you are providing WebCallback service to other organizations.

To increase the level of service you offer to your WebCallback users you can introduce programming to your site.  We already have VBScript ASP code available to support Microsoft IIS, and plan to add other languages (Perl and Cold Fusion, for example) as demand emerges.