do not print blank fields

2002-04-29 Thread Debbie McNerney
Hi I have made an html form that forces a user to fill out certain fields including where to email the contents of the form and allows them to upload a file. an email is then delivered with all the form fields and contents along with a link to the file. We are beginning to send ad proofs to cust

Re: do not print blank fields

2002-04-29 Thread Todd Wade
"Debbie McNerney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If all you need is to see if the field is empty, wrap the prints in if() conditionals: if ( $query->param('CustName') ) { print OUT ("\nCustomer Name: "); } if ( $query->param('CustName') ) { pri

Re: do not print blank fields

2002-04-29 Thread Todd Wade
"Todd Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if ( $query->param( $fieldName ) { # this one is not empty this should read: if ( $query->param( $fieldName ) ) { # this one is not empty forgot a paren Todd W [EMAIL PROTECTED] -- To uns

Re: do not print blank fields

2002-04-29 Thread drieux
On Monday, April 29, 2002, at 09:44 , Todd Wade wrote: > this should read: > > if ( $query->param( $fieldName ) ) { # this one is not empty > > forgot a paren is there an idiot proof IDE that will prevent this? I keep doing that one so many times ciao drieux --- -- To unsubscribe, e-

Re: do not print blank fields

2002-04-30 Thread Dennis G. Wicks
today? All of them that I use anyway! Good Luck! Dennis >}On Apr 29, 20:31, drieux wrote: >} Subject: Re: do not print blank fields > >On Monday, April 29, 2002, at 09:44 , Todd Wade wrote: > >> this should read: >> >> if ( $query->param( $fieldName ) ) { # t