Welcome Guest, Not a member yet? Register   Sign In
Form validation in codeigniter does not seem DRY
#4

I tried doing a page recently without using it and it was a real reminder of what a pain these things used to be.

I use the same view and controller for insert and edit. Just need a tiny bit of logic to see if we are inserting or updating data on successful submission. So for me it is entirely DRY.

And you can write error messages for custom callback failure without the need for flash data at all.

So I am sorry but I do not agree, I think it is DRY.

Best wishes,

Paul.
Reply


Messages In This Thread
RE: Form validation in codeigniter does not seem DRY - by PaulD - 10-24-2015, 11:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB