Hi Malessa, The "rawValue" contains the data the user entered, the way the user = entered it. The "value" contains the same data after TerraForm has processed it. = For example, TerraForm will trim whitespace off strings, and transform dates into an internationalised format such as "{ts '2004-12-13 00:00:00'}". = Sure, it's OK to use it, but generally I would recommend using value instead. = Can you supply the code that is throwing this error? Matt > -----Original Message----- > From: terraform-bounce@xxxxxxxxxxxxx [mailto:terraform- > bounce@xxxxxxxxxxxxx] On Behalf Of Malessa Korotnicki > Sent: Monday, 5 April 2004 4:35 p.m. > To: terraform@xxxxxxxxxxxxx > Subject: [TerraForm] field rawvalue >=20 > Hi Matt, >=20 > I'm setting up a multipage form that adds each field in a page to the > session scope as it progresses through the pages of the form. I am = using > the following code to add the fields to a temporary structure > (monthlycontact) before adding the structure to the session scope: >=20 > <cfloop collection=3D"#request.terraform.fields#" item=3D"i"> > <cfset monthlycontactdetails[i] =3D > request.terraform.fields[i].rawvalue> > </cfloop> >=20 > I just want to check that I am using the 'rawvalue' variable = correctly... > I was using the following code: >=20 > <cfloop collection=3D"#request.terraform.fields#" item=3D"i"> > <cfset monthlycontactdetails[i] =3D = request.terraform.fields[i].value> > </cfloop> >=20 > But experience problems when passing dates (might be because of = locales?). > This is the error I was receiving when I tried to submit the form: = "{ts > '2004-12-13 00:00:00'}" is an invalid date format. >=20 > I got the following to work but it seemed like too much code... >=20 > <cfloop collection=3D"#request.terraform.fields#" item=3D"i"> > <cfset tempvalue =3D request.terraform.fields[i].value> > <cfif IsDate(tempvalue)> > <cfset monthlycontactdetails[i] =3D > DateFormat(tempvalue,"dd/mm/yyyy")> > <cfelse> > <cfset monthlycontactdetails[i] =3D tempvalue> > </cfif> > </cfloop> >=20 > That's when I stumbled across the 'rawvalue' variable. >=20 > So, is it alright to use that 'rawvalue' variable in this way? (ie. to = get > the raw text of the entered date?) >=20 > Thanks > - Malessa >=20 >=20 >=20 >=20 >=20 >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > The information contained in the above e-mail message or messages > (which includes any attachments) is confidential and may be legally > privileged. It is intended only for the use of the person or entity > to which it is addressed. If you are not the addressee any form of > disclosure, copying, modification, distribution or any action taken > or omitted in reliance on the information is unauthorised. Opinions > contained in the message(s) do not necessarily reflect the opinions > of the Queensland Government and its authorities. If you received > this communication in error, please notify the sender immediately and > delete it from your computer system network. > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 >=20