[PHP] Prepopulating form fields afer an error

2005-07-25 Thread Jack Jackson
Hi, I have a form and it does basic error checking after submission; when the user omits required fields it kicks back the form with highlighted errors telling them the error of their ways. I've sussed out that by populating the value of the field with $fieldvalue I can have that form field

Re: [PHP] Prepopulating form fields afer an error

2005-07-25 Thread Matt Darby
select name=user $_REQUEST['user']==$curr_user?$select=selected:$select=; echo(option $select$curr_user/option); /select Jack Jackson wrote: Hi, I have a form and it does basic error checking after submission; when the user omits required fields it kicks back the form with highlighted

Re: [PHP] Prepopulating form fields afer an error

2005-07-25 Thread Mark Cain
? if ($shipped_via == UPS) echo selected; ?UPS /select Mark Cain - Original Message - From: Jack Jackson [EMAIL PROTECTED] To: [php] PHP General List php-general@lists.php.net Sent: Monday, July 25, 2005 2:37 PM Subject: [PHP] Prepopulating form fields afer an error Hi, I have a form

Re: [PHP] Prepopulating form fields afer an error

2005-07-25 Thread Jack Jackson
: Monday, July 25, 2005 2:37 PM Subject: [PHP] Prepopulating form fields afer an error Hi, I have a form and it does basic error checking after submission; when the user omits required fields it kicks back the form with highlighted errors telling them the error of their ways. I've sussed out