Hi John!
I hope you are having a nice holiday season!
I am working on a project that has an unusual database model. This is a legacy app that could use a database redesign but that isn't happening for now : ) The tables are very large and there are multiple forms that interact with the same table, so we only want to validate the form fields specific to that form when the form is posted.
To give a more clear example, the user table has about 100 fields or more in it (ouch!). There are about 4 user forms where they add/update data that gets posted to this table. I have one User.cfc that contains all of the fields in the database table and one user.xml file that has all of the form validation. One form one, I only need to validate Name, address, phone, city state, for example. So if I specify that those fields are to be validated in the "basic" context only, for example is this the best approach?
I hope this makes sense!
TIA!