RE: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
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

Re: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
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

RE: [PHP] HELP! form validation

2005-06-09 Thread Dave Sayer
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[]

RE: [PHP] HELP! form validation

2005-06-08 Thread Dave Sayer
> -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]

[PHP] HELP! form validation

2005-06-08 Thread Dave Sayer
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

RE: [PHP] financial application form

2005-05-27 Thread Dave Sayer
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

[PHP] financial application form

2005-05-22 Thread Dave Sayer
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