Welcome Guest, Not a member yet? Register   Sign In
[Closed] Codeigniter Validation Question
#10

[eluser]ivantcholakov[/eluser]
I imagine that 'has-success' may be triggered on two conditions, when:

1. on the specific field there is no error;
2. the request method is 'POST', i.e. $this->input->method() == 'post' .

When the validation fails, the fields will be repopulated, and the wrong field will get the attribute 'has-error' (red), the correct fields will get attribute 'has-success' (green).


Messages In This Thread
[Closed] Codeigniter Validation Question - by El Forum - 05-07-2014, 10:49 PM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 12:50 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 01:21 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 01:39 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 01:52 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 02:22 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 02:35 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 12:26 PM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 05:12 PM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 05:27 PM
[Closed] Codeigniter Validation Question - by El Forum - 05-08-2014, 11:56 PM
[Closed] Codeigniter Validation Question - by El Forum - 05-09-2014, 03:10 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-09-2014, 05:55 AM
[Closed] Codeigniter Validation Question - by El Forum - 05-10-2014, 01:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB