# Get form template elements Retrieve the list of form elements (fields) for a template. Each element represents an input field, with its type, label, and optional attribute mapping. Endpoint: GET /partner/v2/account/{accountId}/location/{locationId}/form/template/{formTemplateId}/elements Version: 2.0 Security: PartnerOAuth ## Path parameters: - `formTemplateId` (integer, required) Form template ID - `accountId` (integer, required) Account identifier - `locationId` (integer, required) Location identifier ## Response 200 fields (application/json): - `elements` (array) List of form elements - `elements.attributeName` (string) Mapped attribute name for data mapping Example: "patient_first_name" - `elements.colClass` (integer) Column width class (1-12) Example: 6 - `elements.helpText` (string) Help text displayed below the field - `elements.id` (integer) Unique element identifier Example: 11111 - `elements.isPatientViewable` (boolean) Whether this field is visible to patients Example: true - `elements.isRequired` (boolean) Whether this field is required Example: true - `elements.label` (string) Field label displayed to users Example: "First Name" - `elements.options` (array) Available options for select/radio/checkbox fields - `elements.options.id` (integer) Option ID Example: 22222 - `elements.options.sortOrder` (integer) Display order Example: 1 - `elements.options.text` (string) Option display text Example: "Male" - `elements.placeholder` (string) Placeholder text Example: "Enter your first name" - `elements.sortOrder` (integer) Display order within the form Example: 1 - `elements.type` (string) Element type Enum: "TEXT", "TEXTAREA", "SELECT", "MULTI_SELECT", "CHECKBOX", "RADIO", "DATE", "TIME", "DATETIME", "SIGNATURE", "FILE", "IMAGE", "HEADER", "PARAGRAPH" - `formTemplateId` (integer) Form template ID Example: 12345 - `formTemplateName` (string) Form template name Example: "Patient Intake Form" ## Response 401 fields ## Response 403 fields ## Response 404 fields