Step 2. Create a New Page Component

In this step, you will create the new page component iiiCOMENT that will be used with the function you created in Step 1.  It will be a very simple page containing one input text area (3 rows by 20 characters wide) and three output fields to display the contents of the text box. You will also register your key word SUBMIT to create a WEBEVENT link so that iiiFN13 calls itself.

1.  Using the Web Function Editor, create a new HTML page.

2.  When the new page appears, delete all the default HTML code.

3.  Add the following lines to the page:

     <STRONG>Please enter your question below:</STRONG>

<BR>

<RDML CHECKVALUE="YES">

<TEXTAREA NAME="COMMNT    -L020" WRAP="PHYSICAL" ROWS=3 COLS=20>

<RDML MERGE="COMMNT">

<RDML MERGE="COMMNT001">

<RDML MERGE="COMMNT002">

</TEXTAREA>

</RDML>

 

<P>

     <STRONG>Your text is stored as:</STRONG>

<BR>

COMMNT field:&nbsp;&nbsp;<RDML MERGE="COMOUT   ">

<BR>

COMMNT001 field:&nbsp;&nbsp;<RDML MERGE="COMOUT001">

<BR>

COMMNT002 field:&nbsp;&nbsp;<RDML MERGE="COMOUT002">

 

     Important Note: Be sure to enter the text area command exactly as show. There should be 4 blank spaces between COMMNT and -L020.

<TEXTAREA NAME="COMMNT    -L020" WRAP="PHYSICAL" ROWS=3 COLS=20> 

4.  Save your document as iiiCOMENT with description Data Apportionment Component.

5.  Using the Web Function Editor, open the Maintain Components window.

6.  Select Add, to add a new component as follows. (where iii is your course assigned ID):

Component

iiiCOMENT

Type

PAGE

 

 

Description

Data Apportionment Component

Page

iiiCOMENT

Mode

Input

 

  

7.  Close the Maintain Components window.

8.  Use the Tools menu category and select the Keywords – Maintain option.  Do not enter a process. Press the OK button to continue.  Press the add button to create a link to by entering the following information:

Process

iiiPROC03

Function

iiiFN13

Keyword

SUBMIT

Description

Submit Request

Linked Process

iiiPROC03

Linked Function

iiiFN13