Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Filtering results - how to re-set filter to show all
#11

[eluser]LuckyFella73[/eluser]
For the "loosing the post var problem":
You have to set up form_validation in your controller
and repopulate the dropdown fields. That way you don't loose
the values anymore. If no rule (form_validation) really
fits, just take "trim" for you have to set up a rule
if you want to repopulate.

Have to leave office soon ... - hope you get it to work.

PS:
Code:
// Controller
$this->load->library('form_validation');
$this->form_validation->set_rules('gyartok', 'Whatever 2', 'trim');
$this->form_validation->set_rules('sorrend', 'Whatever 2', 'trim');

Please look at the user guide for details of repopulating the select
part - unfortunately I don't have the time just now - otherwise I would
like to set up the code for you.


http://ellislab.com/codeigniter/user-gui...latingform


Best wishes - LF


Messages In This Thread
[SOLVED] Filtering results - how to re-set filter to show all - by El Forum - 02-16-2011, 10:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB