implement required fields on forms
Ticket
+status
+priority
+commit
+solution
Current thinking:
- New setting named "*required"
- Rule is pointer referring to list of "field names".
- Saving won't validate unless card is "present" (existent/not blank)
- more sophisticated checks (eg valid email, number within range, etc will for now be done in modules)
- validation for now is just ruby but may soon also be in javascript
- special css class for all required fields
eg,
type: Company
rule: Company+*type+*required: [ address, contact ]
then: company won't save without +address and +contact