utilities/form
Utility to generate a record form as json
Parameters
Parameter |
Type |
Attributes |
Description |
---|---|---|---|
options.record |
String |
Required |
Record type |
options.order |
Boolean |
Optional |
Apply user event before load field ordering. |
options.options |
Boolean |
Optional |
Load select options |
options.hidden |
Boolean |
Optional |
Include hidden fields |
options.inline |
Boolean |
Optional |
Include inline fields |
options.include |
Array.<String> |
Optional |
Only return these fields |
options.exclude |
Array.<String> |
Optional |
Return all fields excep these |
options.cache |
Boolean |
Optional |
Store or retrieve cached form matching the defined options |
returns
Type |
Description |
---|---|
Object |
Form |