WML Server Setup: Microsoft IIS Web Server WML Configuration

8.5 Open URL Entry

This document provides sample WML code on how to develop WML pages implementing a text box-based go to a URL function. This code allows a user to enter a URL into a text entry area and link to that site.

Please note that these are examples, not an exhaustive list. All WML code is presented in italics.

Case 1. Input Box Followed by an Anchor Tag

Description: The user enters a URL into the text entry box and clicks on the URL to retrieve it.

<input name="url" title="Name" />

<anchor title="get it">

Go Get It

<go method="get" href="$(url)">

</go>

</anchor>

Case 2. Input Box Followed by an A Tag

<input name="url" title="Name" />

<a href="$(url)">Go Get It</a>

Case 3. Input Box Followed by a Submit Button

<input name="url" title="Name" />

<do type="submit" name ="submit" label = "Submit">

<go method="get" href="$(url)">

</go>

</do>

Case 4. Input Box Followed by an Anchor Tag Where the Anchor Tag Already Displays HTTP://

This method displays http so that the user only has to type in the URL at the end of http://.

<input name="url" title="Name" value="http://" />

<anchor title="GET">

Go Get it

<go method="get" href="$(url)">

</go>

</anchor>

H323 Phone Install

Page 81

IP Office 4.2

15-601046 Issue 15b (16 July 2009)

Page 81
Image 81
Avaya H323 manual Open URL Entry, Case 1. Input Box Followed by an Anchor Tag, Case 2. Input Box Followed by an a Tag