Forms Routines for Solution Sites

For conceptual information about how forms are constructed and processed in the Solution Sites, see Forms Processing for Solution Sites.

include\form_lib.asp

The following forms processing utility routines are defined in this file:

  • bMatchesPattern
    This function checks whether the value specified by the sValue parameter matches the expression specified by the sPattern parameter. If a match is found, this function returns True; otherwise it returns False.
  • GetFieldsErrorDictionary
    This function returns a Dictionary object. The keys are the names of the form post fields and the values are the associated field validation error messages. Examples of errors include empty fields where input is required, incorrect password length, invalid characters, and so on.
  • GetSubmittedFieldValues
    This function retrieves form post values from the request, based on the expected fields specified by the listFlds parameter, placing them in a Dictionary object where the corresponding keys are the names of the fields.
  • htmRenderFillOutForm
    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".
  • IsFormSubmitted
    This function is used to test whether the current request contains a query string or form post variable with the name "mode" that has a value that can be successfully converted to a number.

Copyright © 2005 Microsoft Corporation.
All rights reserved.