Internet Expansion Module  

Home

 Using Text Boxes and Images:

 

 
Using Images
 Want to use images instead of buttons?  This example sends a search and play message to an MP3 Audio Machine when you click the car.  Just like any form, you have fields that are necessary to communicate properly with WEBster, whether it's a button, image, or text box.   

<form ACTION="/form" METHOD=POST>
<INPUT TYPE="image" border="0" src="car.gif" alt="car.gif"> 
<INPUT TYPE="hidden" NAME="form" VALUE="sendstring">
<INPUT TYPE="hidden" NAME="string" VALUE="1SE<*0d*>PL<*0d*>">
<INPUT TYPE="hidden" NAME="dispresult" VALUE="File 1 Played">
<INPUT TYPE="hidden" NAME="responsestring" VALUE="R<*0d*>R<*0d*>">
<INPUT TYPE="hidden" NAME="synfile" VALUE="genindex.syn">
</form

 

  (press image to send command)

 Response:

 
 
Using Text Fields
This is an example of how to add a data field to your forms, so you can send customized strings to any serial device, without having to tie them to a button.  

<form ACTION="/form" METHOD=POST>
<INPUT TYPE="submit" VALUE="Send Command"> 
<INPUT TYPE="hidden" NAME="form" VALUE="sendstring">
<INPUT TYPE=text NAME="string" SIZE=11>
<INPUT TYPE="hidden" NAME="synfile" VALUE="genindex.syn">
</form>