This commit is contained in:
2019-01-09 17:00:53 +00:00
parent 7627120bb6
commit 44a22c29a7
4 changed files with 21 additions and 29 deletions

View File

@@ -35,14 +35,14 @@ UI FEATURE - The ability to customize forms:
## TODO
- Need a FormCustom table and model to hold the user's form customization data
- Only holds items that differ from stock, no "core" fields allowed
- FormKey
- FieldKey
- Hide
- Required
- Type (checkbox, date, date time, decimal, number, picklist, and text)
- Like DataFilter, holds a JSON fragment in one field and the form key in another field
- JSON FRAGMENT holds items that differ from stock, no "core" fields allowed
- FieldKey
- Hide
- Required
- Type (checkbox, date, date time, decimal, number, picklist, and text)
- Need a FormAvailableFields static collection class that contains the fields available to each form
- #DONE# Need a FormAvailableFields static collection class that contains the fields available to each form
- This should be independent from any other class tied to a particular route or controller or db table as it could be some or none of all of those things
- Method: GetFields(FormKey): FieldKey (localekey), Hideable (bool), SharedLTKey (bool means it's not specific to that form), Custom (bool, means it's one of the custom fields that can be set to type etc)
- Method: GetForms() returns a list of form names