unsider Posted July 16, 2008 Share Posted July 16, 2008 How can this be achieved? With the following code: <input type="text" name="username" maxlength="30" value="<? echo $input->setValue("username"); ?>"><? echo $input->setError("username"); ?> The setValue is input, and if an error is caught during processing it is returned through setError, well right now the error is being returned in plain text, I need it to be displayed inside of the HTML form field. Thanks. It's really important I figure this out, but I can't find anything on google. Link to comment https://forums.phpfreaks.com/topic/115058-return-php-error-inside-of-a-html-form/ Share on other sites More sharing options...
DyslexicDog Posted July 16, 2008 Share Posted July 16, 2008 can you post the relevant code from the class? Link to comment https://forums.phpfreaks.com/topic/115058-return-php-error-inside-of-a-html-form/#findComment-591722 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.