I have a flash form that collects data from the user, the user then
submits to an action page where that data is used to form an e-mail and
that is sent - everything works great, except now I'm trying to set the
timeout attribute in cfform to 300 seconds so that the user can press the
back button from the action page to return to the form if necessary. The
form loads successfully, but all the data the user had entered is gone -
the form is like it's being loaded anew. The code looks like this (with
the names changed to protect the innocent:
<cfform format="flash" action="testpage.cfm"
height="700" width="800" timeout="300">
<cfinput label="Date" type="text"
name="currdate" value="#DateFormat(now(), "mm/dd/yyyy")#">
<cfinput label="Requestor" type="text"
name="requestor" size="50" maxlength="50" required="yes" message="Please
enter requestor">
<cfselect label="Company" name="company"
size="1" required="yes" message="Please select your company name">
<option value=""></option>
<option
value="aaaaaaa">aaaaaaaa</option>
<option
value="xxxxxxxx">xxxxxxx</option>
</cfselect>
<cfselect label="Shop"
name="reqdescription" size="1" required="yes" message="Please select
shop">
<option value=""></option>
<option
value="carpentry">Carpentry</option>
<option
value="custodial">Custodial</option>
<option
value="electrical">Electrical</option>
<option
value="elevatortechnician">Elevator Technician</option>
<option
value="housekeeping">Housekeeping</option>
<option value="hvac">HVAC</option>
<option
value="landscaping">Landscaping</option>
<option
value="locksmith">Locksmith</option>
<option
value="mailroomreceiving">Mail Room/Receiving</option>
<option
value="mechanical">Mechanical</option>
<option
value="paint">Paint</option>
<option
value="plumbing">Plumbing</option>
<option
value="spaceplanning">Space Planning</option>
</cfselect>
<cftextarea label="Service Request"
name="svsrequest" cols="40" rows="6" maxlength="750" required="yes"
message="Please enter Service Request Field" />
<cftextarea label="Additional Comments"
name="addlcomments" cols="40" rows="6" maxlength="750" />
<cfinput type="submit" name="submit"
value="Submit">
</cfform>
Any help is determing why data is not maintained as documented would be
greatly appreciated.
Craig Nassal
Federal Reserve Bank of Atlanta
1000 Peachtree St. N.E.
Atlanta, Ga 30309-4470
(404)498-8437
[email protected]
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------