[Solved] Remember Selected Option Value If Form Errors |
Hi, If there are any form validation error that has been triggered I would like to know if there is a way to remember the seleted option value on view so the user does not have to go through the whole list
PHP Code: <?php View Code: <?php echo $header;?>
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
I have found the solution using set_select()
Code: <div class="form-group">
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |