# Create a hidden field that maintains state so we know where we
# are in the sequence of forms.
$query->param('myState', 'DoPageTwo');
print $query->hidden({-name=>'myState'});
# Create a hidden field that maintains state so we know where we
# are in the sequence of forms. (note: won't work, even though
# it looks like it should).
print $query->hidden({-name=>'myState',
-value=>'SomeNewValue'});