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

(This post was last modified: 10-30-2015, 05:43 AM by ignitedcms.)

Hi Guys,

I've gone for storing the forms as a json array. For example a checkbox option will be
Code:
{"opt1":"name","opt2":"school"} ...yada yada
This makes it much more flexible and easier to return to the edit view if input was bad. Hopefully this will work out Big Grin
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
RE: Form validation in codeigniter does not seem DRY - by ignitedcms - 10-30-2015, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB