Progress
ADM 2 Reference


inputFields (html-map.p)

Receives field input from the Web browser and populates the form buffer field values.

Parameters: None

Returns: Nothing (procedure)

Notes: Runs the WEB.INPUT procedure for each HTML field in the offset (.off) file. Commonly used in process–web–request procedures.

Examples:

PROCEDURE process-web-request: 
   IF REQUEST_METHOD = "POST":U THEN DO: 
    /* Copy HTML input field values to the form buffer fields. */ 
    RUN inputFields. 
    /* Find the datasource record that needs to be assigned. */ 
    RUN findRecords. 
    /* Assign form buffer field values to the datasource. */ 
    RUN assignFields. 
    /* Display datasource field values to the form buffer fields. */ 
    RUN displayFields. 
    /* Enable form buffer fields. */ 
    RUN enableFields. 
    /* Output the static HTML page and form buffer field values to the  
    web stream. */ 
    RUN outputFields. 
  END. 
END. 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095