Welcome to www.mmclean.ca!
2 Nov 2026
Summary
ASP Code Reference :: POST Data


Retrieve POST Data

All that is required are the names of the FORM elements being retrieved. The first two FORM elements are having white-space removed from the front and back of the string as well as having the single-quotes escaped for use in a SQL statement.

  ' Assign FORM data to variables
  txtProjectName = Trim( Replace( Request.Form( "txtProjectName" ), "'", "''" ))
  txtErrDesc         = Trim( Replace( Request.Form( "txtErrDesc" ), "'", "''" ))
  optPriority         = Request.Form( "optPriority" )
  rdoType            = Request.Form( "rdoType" )
  lstdev               = Request.Form( "lstdev" )