-
Notifications
You must be signed in to change notification settings - Fork 0
Widgets NDT Forms
Form presentation widgets for ND Theme CMS v4. Index: Widgets.

Warning — presentation only: The Form and Form field widgets render Notre Dame Web Theme markup for design and content layout. They do not provide a submission backend, email delivery, spam protection, or data storage. Do not use them as a live application or contact form unless your team has separately wired a real form service or custom backend.
For site search UI, use #Search form.
Styled form shell with optional title and submit label.
When to use: Mockups, style demos, or pages where a real form endpoint will be connected by developers. Not for collecting data by itself.
| Field | Options | Notes |
|---|---|---|
| Title | Text | Optional heading above the form. |
| Submit label | Text (default “Submit”) | Submit button text. |
Children: Form field only.
Tips: If you need a working contact or application form, ask your technical team for an approved form tool — then style around it, or replace this widget once a backend exists.
One field inside a Form.
When to use: Always as a child of Form. Still presentation/markup only.
| Field | Options | Notes |
|---|---|---|
| Label | Text | Required visible label. |
| Field type | Text (default), Email, Password, Number, Date, Search, Textarea, Select, Checkbox list, Radio list, Switch | Control type. |
| Field id | Slug | Required unique id for label/input pairing. |
| Input placeholder | Text | Optional placeholder text. |
| Options | Long text | One option per line — used for Select, Checkbox list, and Radio list. |
| Required | On / off (default off) | Marks the field required in the markup. |
Children: None. Parent: Form.
Tips: Keep Field id unique on the page (email, full-name). Fill Options before choosing Select / Checkbox list / Radio list or the control will look empty.
Site search field that submits to a search URL.
When to use: Headers, sidebars, and pages that should offer search. Default action is /search/.
| Field | Options | Notes |
|---|---|---|
| Label | Text (default “Search”) | Accessible label for the search field. |
| Input placeholder | Text (default “Search…”) | Placeholder text. |
| Action | Text (default /search/) |
Form action URL. |
Children: None.
Tips: Leave Action at /search/ unless your environment uses a different search path. Confirm search is enabled for your site — see Navigation-and-Search.