
Cgi::application::plugin::formstate provides a temporary storage area within the user's session for storing form-related data. the main use of this is for multi-page forms. instead of using hidden fields to store data related to the form, you store and retrieve values from the form state.