Welcome Guest, Not a member yet? Register   Sign In
dynamic form validation
#1

Hi guys,

I was just wondering what is the best way to have a dynamic form validation. Let's say you don't know what the _POST values are, well they could be anything, but you set a rule in the database as to what validation rule it needs.

Is it possible to generate a dynamic form validation on the fly and then repopulate the view if said input fails using set_value().

And what would be best to store the validation rules. Maybe a json array?

Regards,

Iamthwee.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
dynamic form validation - by ignitedcms - 10-14-2015, 03:12 PM
RE: dynamic form validation - by ignitedcms - 10-15-2015, 11:52 AM
RE: dynamic form validation - by mwhitney - 10-16-2015, 08:26 AM
RE: dynamic form validation - by ignitedcms - 10-17-2015, 01:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB