Thanks jim, sorry for troubling you. Ive done that now and can see that all
vars are being set but the code in the form to return the contents of $err1
doesn’t display the contents, just emptiness. Thanks for your help, I will
keep on playing with it.
Cheers
Dave
> -Original Message-
> F
Yes, it does. I already have set the variables manually like you say. Its
just the $err1, $err2 vars do not seem to be set with the data stored in
$error_style.
Dave
>
> > -Original Message-
> > From: Jim Moseby [mailto:[EMAIL PROTECTED]
> > Sent: 09 June 2005 15:02
> > To: '[EMAIL PROTE
Hi Jim, Ive modified the code for the form by adding the style info & vars
to the relevant fields and set the var for the error style but for some
reason the $error_var wont pick up the syle from $error_syle_var.
Eg:
$error_style = 'color: rgb(255,0,0)';
if(!$name){$err1 = $error_style; $error[]
> -Original Message-
> From: Jim Moseby [mailto:[EMAIL PROTECTED]
> Sent: 08 June 2005 15:18
> To: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] HELP! form validation
>
>
> > -Original Message-
> > From: Dave Sayer [mailto:[EMAIL PROTECTED]
Hi php’ers,
What would be the best method of validation a large (8 stages) form written
in php? The form validates using php at the moment but it only displays the
errors in a group, what we want it to do is highlight the fields or labels
for the incorrect entries (if that makes sense.) so the use
g vars without manually adding this to
each one. I guess id have to get everything into an array? My boss/client
wishes to have both forms displayed simultaneously, PITA! So that
considered, maybe ill just have to have 2 separate forms.
Thanks again for your help
Dave Sayer | Digital Meme
Freelan
Hi, First post here.
I have a large application form (financial) which I have working fine but I
need to be able to have it either work as a single application or a joint
one. If joint it needs to display two forms for the user to fill in. I am
just wondering how I can do this without having t
7 matches
Mail list logo