The Stack Action


The "STACK" action causes the results of the current form to be saved on an internal "STACK" and merged with the responses obtained during the processing of a future form that has one of the EMAIL, PRINT or FILE actions.

In this way, the results of multiple input forms can be used to produce a saved file, an E-Mail response or a printed document.

The internal stack is cleared after processing by a subsequent EMAIL, PRINT or FILE action.

Specify this action as the ACTION parameter of the FORM tag. The field after the ? is used to uniquely identify this particular set of stacked data, so that if the user revisits the form any new entries will replace, and not add to, previous entries. For this reason be careful you don't specify the same value here on two different forms - this may be a reason why some data appears to "go missing". The HTML page to jump to after stacking is complete may also be specified after a + sign. For example, to specify that you want to stack the current data and then jump to the thanks.htm page, specify

FORM Method="get" Action=Stack?inputform1+thanks.htm