Chris,
I'm doing something similar - passing data between forms as they are
submitted so that no data need be stored on the server until the user
finishes filling in all sections and submits the complete set.
I use WDDX in JavaScript to package each form's data into a single hidden
field on a separate form and submit that one.
The only time I have problems with validation are when the browser caches
previous versions of the .js files.
HTH,
Noam
p.s. please turn off MIME when sending to the list the server doesn't
support it.
----------
From: Chris Tazewell[SMTP:[EMAIL PROTECTED]]
Reply To: [EMAIL PROTECTED]
Sent: Tuesday, 15 August 2000 17:09
To: Fusebox
Subject: Bizarre client-side validation problems...
This is a multi-part message in MIME format.
------=_NextPart_000_0083_01C006D3.3D376300
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Okay this is now beginning to get on my nerves...
For the purpose of keeping design tidy I've broken a form up through
5 =
templates (dsp_form_part_n.cfm)... Upload to the database can only
occur =
when all 5 forms have been successfully filled with valid data. Each
=
template has 4 tabs (<input type=3D"image"...>) that act as values
to =
tell the action template which display template to show on a submit.
All =
values start off parameterised and these are moved through the
templates =
as hidden fields... (are you keeping up? Ill be holding a quiz on
this =
later). Therefore a user may go back and forth through the form (set
of =
forms) and change details before finally submitting to the
database.=20
So what's wrong? When I go to this fuse for the first time, the =
fuseaction first creates the CFParams and gives the first form by =
default with no problems, but the javascript validation fails to
work. =
On clicking one of the tabs the validation will not run, but from
the =
next form no problem - all validation runs okay. I've checked the
html =
code in the browser source and it is no different when returning to
the =
template, but it'll run on the second go...
Is it me or is that not slightly odd...
Has anyone else seen this problem or am I a pioneer in the =
"fully-interactive form functionality phenomenom"... (If anyone
wants to =
try saying that whilst drunk I would love to hear the mp3).
Cheers
Taz
---
Technical Web Developer
Orchard Design - www.orchard-design.co.uk
Email: [EMAIL PROTECTED]
ICQ: 38478683
Tel. +44 (0) 191 516 6183=20
Fax +44 (0) 191 516 6184
Mb. +44 (0) 7944 774 349
------=_NextPart_000_0083_01C006D3.3D376300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Okay this is now beginning to get
on my =
nerves...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>For the purpose of keeping design
tidy =
I've broken=20
a form up through 5 templates (dsp_form_part_n.cfm)... Upload to the
=
database=20
can only occur when all 5 forms have been successfully filled with
valid =
data.=20
Each template has 4 tabs (<input type=3D"image"...>) that act
as =
values to=20
tell the action template which display template to show on a submit.
All =
values=20
start off parameterised and these are moved through the templates as
=
hidden=20
fields... (are you keeping up? Ill be holding a quiz on this later).
=
Therefore a=20
user may go back and forth through the form (set of forms) and
change =
details=20
before finally submitting to the database. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>So what's wrong? When I go to this
fuse =
for the=20
first time, the fuseaction first creates the CFParams and gives the
=
first form=20
by default with no problems, but the javascript validation fails to
=
work. On=20
clicking one of the tabs the validation will not run, but from the
next =
form no=20
problem - all validation runs okay. I've checked the html code
in =
the=20
browser source and it is no different when returning to the
template, =
but it'll=20
run on the second go...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is it me or is that not slightly=20
odd...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone else seen this problem
or am =
I a pioneer=20
in the "fully-interactive form functionality phenomenom"... (If
anyone =
wants to=20
try saying that whilst drunk I would love to hear the
mp3).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Taz</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>---<BR>Technical Web =
Developer<BR>Orchard Design -=20
<A =
href=3D"http://www.orchard-design.co.uk">www.orchard-design.co.uk</A><BR>=
Email:=20
<A
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A><BR>ICQ: =
38478683<BR>Tel. +44 (0) 191 516 6183 <BR>Fax +44 (0) 191 516 =
6184<BR>Mb. +44=20
(0) 7944 774 349</FONT></DIV></BODY></HTML>
------=_NextPart_000_0083_01C006D3.3D376300--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.