Dumping the current configuration and state

It is often helpful to be able to view the current state of your application without having to write a lot of messy code. for that reason we have created a few helper functions that allow you to easily see what is going on within any ASPFormV1 object.

Example 2.5. Dumping the configuration and current state

	
	'continuing from the previous example..

	'dump the current configuration of the aspform
	hASPForm.dumpConfig
	
	'dump the current state of the aspform
	hASPForm.dumpState	

The LoadFromRequest method iterates through the list of elements that are defined by the form then attempts to find an named item in the request that matches the element name. if a match is found then the corresponding value is placed into the element value otherwise it is left blank.