What is the easiest way of reselecting the selected value |
[eluser]Neeraj Kumar[/eluser]
Hi all! I have been working with form validation helper. I want to know that what would be the easiest way of re selecting the selected value posted via form submission. Adding a check to every <option> is not a good idea, especially for big lists. Code: <select name="test" id="course_type">
[eluser]pistolPete[/eluser]
Have a look at the user guide: http://ellislab.com/codeigniter/user-gui...elper.html Quote:set_select()
[eluser]Neeraj Kumar[/eluser]
thanks for pointing out, I mis understood the procedure.. |
Welcome Guest, Not a member yet? Register Sign In |