Nearly Normal Warren
|
Posted: 10/17/2003, 8:14 AM |
|
I simply want to display a form with the entries the user has made and my error messages.
I can get the data they posted but I can't get it back into the form for them to correct.
Where last_name is the field name in the form HTML and $lname contains the value from $_POST[last_name]...
Ive tried ...
$tpl->set_var("last_name", tohtml($lname));
and I've tried variations of...
$this->last_name->SetValue($lname);
both of these result in the form not being displayed.
|
|
|
Nearly Normal Warren
|
Posted: 10/17/2003, 9:06 AM |
|
I found the answer .... in the FORM HTML (see value)..
<td><input type="text" name="last_name" value="<?php print $lname ?>" maxlength="25" size="25"> </td>
|
|
|
|