Form_validation isnt working |
[eluser]hungryhippo[/eluser]
Fixed it! Lol I had a couple of different rules set in the construct function for something different, and those were causing my validation to fail. OOPS what a stupid mistake!!
[eluser]Tobz[/eluser]
Ha, yeah that kind of thing happens. I highly recommend using Jamie Rumbelow's base model class: https://github.com/jamierumbelow/codeigniter-base-model Will save you hours of work & take care of almost all your validation needs in a much cleaner less bug prone way. His routing class is very nice too. My own Autoform library is also incredibly useful for all your form needs: http://getsparks.org/packages/autoform/v.../HEAD/show </plug>
[eluser]hungryhippo[/eluser]
Ah mean thanks. I have already had a little nosey at your autoform library. Good stuff! And nothing quite like a shameless plug! |
Welcome Guest, Not a member yet? Register Sign In |