MIPL

Media-Independent Presentation Language

  HOME

  OVERVIEW

 IMPLEMENTATION

 MIPL TAGS
   ASK
   ASKITEM
   DATAIN
   EXIT
   FORM
   GOTO
   HIDDEN
   INVALID
   MENU
   MENUEND
   MIPL
  
NAME="label"
   NOINTERRUPT
   PREFER="mode"
   RECORD

   SELECT
   SELECTION="char"
   SUBMIT
   TIMEOUT
   VOICE
   VOICERATE="rate"
   comment

 SCRIPT EXAMPLES
  Example
  Example-1
  Example-2

 SOURCE
  Example

 


example-form.html (or .mipl), the example form:

<MIPL>

<FORM METHOD="POST" ACTION="/cgi-bin/post-query-mipl">

<HIDDEN NAME="hidden-name" VALUE="its+a+secret">

<SELECT NAME="service" ESCAPE="example.html#main" TRIES="3,example.html#main">

<VOICE SRC="/voice/example/service.vox">

Please select from one of the following types of service:

<SELECTION="1" VALUE="standard" VOICE="/voice/example/standard.vox">

1. Standard (3-5 day) service.

</SELECTION>

<SELECTION="2" VALUE="2day" VOICE="/voice/example/2day.vox">

2. Second day service.

</SELECTION>

<SELECTION="3" VALUE="1day" VOICE="/voice/example/1day.vox">

3. Overnight (next day) service.

</SELECTION>

<MENUEND VOICE="/voice/example/menuend.vox">

Please make your selection now.

</MENUEND>

<INVALID VOICE="/voice/example/invalid.vox">

I'm sorry, but that selection was invalid.

Please try again.

</INVALID>

<TIMEOUT TIME="20" VOICE="/voice/example/timeout.vox">

The time limit for entering your selection was exceeded.

Please try again.

</TIMEOUT>

</SELECT>

<DATAIN NAME="zipfrom" MAX=5 ESCAPE="example.html#main" TRIES="3,example.html#main">

<VOICE SRC="/voice/example/zipfrom.vox">

Please enter the zip code from which you are sending the package.

<INVALID VOICE="/voice/example/invalid.vox">

I'm sorry, but that selection was invalid.

Please try again.

</INVALID>

<TIMEOUT TIME="20" VOICE="/voice/example/timeout.vox">

The time limit for entering your selection was exceeded.

Please try again.

</TIMEOUT>

</DATAIN>

<DATAIN NAME="zipto" MAX=5 ESCAPE="example.html#main" TRIES="3,example.html#main">

<VOICE SRC="/voice/example/zipto.vox">

Please enter the zip code to which you are sending the package.

<INVALID VOICE="/voice/example/invalid.vox">

I'm sorry, but that selection was invalid.

Please try again.

</INVALID>

<TIMEOUT TIME="20" VOICE="/voice/example/timeout.vox">

The time limit for entering your selection was exceeded.

Please try again.

</TIMEOUT>

</DATAIN>

<DATAIN NAME="weight" MAX=5 ESCAPE="example.html#main" TRIES="3,example.html#main">

<VOICE SRC="/voice/example/weight.vox">

Please enter the weight of the package in pounds.

<INVALID VOICE="/voice/example/invalid.vox">

I'm sorry, but that selection was invalid.

Please try again.

</INVALID>

<TIMEOUT TIME="20" VOICE="/voice/example/timeout.vox">

The time limit for entering your selection was exceeded.

Please try again.

</TIMEOUT>

</DATAIN>

<ASK NAME="option" ESCAPE="example.html#main" TRIES="3,example.html#main">

<VOICE SRC="/voice/example/options.vox">

Please answer the following questions about optional items:

<ASKITEM VALUE="saturday" VOICE="/voice/example/saturday.vox">

Do you wish Saturday Delivery?

</ASKITEM>

<ASKITEM VALUE="cod" VOICE="/voice/example/cod.vox">

Is the package going to be sent C.O.D.?

</ASKITEM>

<INVALID VOICE="/voice/example/invalid.vox">

I'm sorry, but that selection was invalid.

Please try again.

</INVALID>

<TIMEOUT TIME="20" VOICE="/voice/example/timeout.vox">

The time limit for entering your selection was exceeded.

Please try again.

</TIMEOUT>

</ASK>

<SUBMIT NAME="submit" VALUE="submit" VOICE="/voice/example/submit.vox">

Please stand by while your request is being processed.

</SUBMIT>

</FORM>

<NAME="exit">

<EXIT>

</MIPL>

 

Copyright by H.R. Jim Dixon 1999 All Rights Reserved