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
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
? 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
: 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
4 matches
Mail list logo