Description
This function is useful for creating new forms based on existing forms and may be used to copy only the fields in a single form or any combination of fields in a form tree that can be fetched with getRecords . Note some form elements such as section headers will not be represented.
Usage
extractSchemaFromFields(x, databaseId, label, useColumnNames = FALSE, ...)
Arguments
Argument | Description |
---|---|
x |
the remote records object fetched with getRecords . |
databaseId |
the id of the database where the form should reside. |
label |
the label of the form |
useColumnNames |
change the label of each field to the corresponding column name in the remote records object |
... |
parameters to pass on to formSchema |