Tip 5007

Topic: ESA Fax Me Web Plug-in - Using Radio Buttons

ESA includes web plug-ins that enable you to incorporate ESA functionality on your web pages. This topic covers the ESA Fax Me plug-in using radio buttons. In other words, visitors to your web page can choose to have a document in your ESA Fax-on-Demand center faxed to them directly from your web page.

For information on how to allow visitors to select more than one document refer to Tip 5008, ESA Fax Me Using Checkboxes.

The following HTML code should be inserted into your web page. Code details are described below the actual code, and are referred to by sections.


<FORM ACTION="http://www.my-office.com/cgi-bin/sendesaf" METHOD=POST>


   <P><INPUT TYPE=hidden NAME=esadnis VALUE=5551212>


   <INPUT TYPE= radio NAME=esafax1 VALUE= fax201>Please fax a listing flier on 123 Main Street to me.


   <P><INPUT TYPE=radio NAME=esafax1 VALUE= fax203>
Please fax a disclosure list for 123 Main Street to me.


   <P>Enter your area code and fax number: If not a U.S. number, please be sure to enter your country code and city code(if   applicable). Please note that this feature does not function with toll-free (800, 888, 877) phone numbers.</P>
  
   <P><INPUT TYPE=text NAME=dest VALUE="" SIZE=20 maxsize=20><BR>
   <INPUT TYPE=hidden NAME=action VALUE=send>
   <INPUT TYPE=hidden NAME=nextpage VALUE="http://www.leadcommander.com/faxing.html">
   <INPUT TYPE=submit NAME=Submit VALUE="Fax to Me Now">
</FORM>


Section 1
Tells your web page what to do with the following lines of code.

Section 2
Change the "5551212" to your ESA phone number, without the area code and without hyphens.

Section 3 (refers to the specific fax-on-demand documents themselves)
The "201" in the value "fax201" should be changed to reflect the file number of your desired fax-on-demand document. The text following the last ">" should be changed to reflect the description of your fax-on-demand document.

Section 4
Same as Section 3, if you are offering multiple choices to your visitors. Repeat as necessary.

Section 5
Instructions for visitors describing how to enter their fax number. These instructions are not entirely necessary, but it is good practice to always make experiences on your web site as easy possible for your visitors. Modify the text to meet your own needs. If you prefer, delete it entirely.

Section 6
"Size" refers to the size of the fax number input box, in characters.

The value containing the URL address within quotes refers to the page that appears after visitors enter their fax number and choose the "Fax to Me Now" button to submit their request. For example, our own Fax Me implementation on our DataBasix web site displays "faxing.html", which is a page that tells users that the fax should be received by them within 5 minutes. If you decide you'd like this same functionality, create your own message page, and insert the URL address to that page here.

The Submit Value, "Fax to Me Now", is the text on the request submission button. Change it, if necessary, to fit your own needs.