Hidden field not been submitted with form validation |
(12-28-2015, 12:04 AM)Diederik Wrote: You could try the following to debug your problem: Thank you for tip in the set_rules for some reason to make it work requires a third part i.e required and then it worked. Unsure why need that third part to make it work? Code: $this->form_validation->set_rules('down_vote', 'Down Vote', 'trim|required'); Will not work if just have Code: $this->form_validation->set_rules('down_vote', 'Down Vote');
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Hidden field not been submitted with form validation - by wolfgang1983 - 12-27-2015, 11:48 PM
RE: Hidden field not been submitted with form validation - by Diederik - 12-28-2015, 12:04 AM
RE: Hidden field not been submitted with form validation - by wolfgang1983 - 12-28-2015, 12:11 AM
RE: Hidden field not been submitted with form validation - by andresweb - 12-28-2015, 12:05 AM
RE: Hidden field not been submitted with form validation - by Diederik - 12-28-2015, 12:50 AM
RE: Hidden field not been submitted with form validation - by wolfgang1983 - 12-28-2015, 12:59 AM
|