Welcome Guest, Not a member yet? Register   Sign In
DMZ Validation
#1

[eluser]NeilyM[/eluser]
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.

NeilyM




Theme © iAndrew 2016 - Forum software by © MyBB