CodeIgniter Forums
DMZ Validation - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: DMZ Validation (/showthread.php?tid=37545)

DMZ Validation - El Forum - 01-13-2011

Hey Guys

I'm using DataMapper DMZ and it's excellent. In particular, its validation at model level is a godsend.

I want to create models for information that won't be stored in a table so that I can use DMZ validation on those models. However, if I create a model that has no associated table, DMZ predictably throws up an error.

Is there a way to use DMZ validation on "tableless" models or do I need to use separate validation routines for those models?

I guess the crux of the matter is that not all form fields will get stored in the database but still need to be validated.

Any suggestions for the best way forward?

Thanks guys.