htmRenderFillOutForm - Solution Sites Routine
This function prepares the HTML that renders the form specified by the sFormName parameter in the forms Dictionary object stored in the intrinsic Application object, which is under the name "MSCSForms".
Definition
Function htmRenderFillOutForm(
byVal urlAction,
byVal sFormName,
dictFieldVals,
dictMessages)
Parameters
- urlAction
A string containing the URL to which the form will be posted when it is submitted. - sFormName
A string containing the name of the form specification Dictionary object within the forms Dictionary object stored in the intrinsic Application object, which is under the name "MSCSForms". - dictFieldVals
A Dictionary object of the posted form values, if any. The dictionary keys are the field names, and the corresponding values are the posted form values. If this parameter is set to Nothing, a blank form is rendered. If values are provided, the form is rendered with one or more values filled in. - dictMessages
A Dictionary object containing error messages for each of the posted form values, if any. The dictionary keys are the field names, and the corresponding values are the error message strings. If a field name is found to be a key in this Dictionary object, the corresponding error message is rendered below the field that produced the error.
Return Value
A string containing the HTML that results in the rendering of the specified form.
Defined in File
Routines Called
Called By
Remarks
If the form is blank, this function attempts to retrieve it from the cache StaticSectionsCache using the value of the sFormName parameter as the cache key.
If this function has constructed the HTML for a blank form, the HTML string containing the form is stored in the cache StaticSectionsCache using the value of the sFormName parameter as the cache key.
For more conceptual information about forms processing, see Forms Processing for Solution Sites.
Copyright © 2005 Microsoft Corporation.
All rights reserved.