Please visit the Platform website for the latest information or contact the Platform Support Team via #vfs-platform-support.
In this doc, we'll explain where the content you see on the form actually comes from. The file locations in this doc assumes you created a simple form using the Yeoman generator, saving the app in new-form
and giving it a root URL of /new-form
(questions 2 and 4 in the generator).
- Form title in breadcrumb:
title
field incontent/pages/new-form.md
. This value also sets the web page's title in the browser tab/window. - Form title: The
FormTitle
component rendered bysrc/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - Form number: Rendered by
src/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - Form title: Rendered by
src/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - Form benefits: The
SaveInProgressIntro
component rendered bysrc/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - Subway text: Rendered by
src/applications/new-form/containers/IntroductionPage.jsx
. - Time burden: The
OMBInfo
component rendered bysrc/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - OMB control number: The
OMBInfo
component rendered bysrc/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator. - Expiration date: The
OMBInfo
component rendered bysrc/applications/new-form/containers/IntroductionPage.jsx
. Initially set in the Yeoman generator.
- Form title in breadcrumb: Same as above
- Form title: The
formConfig.title
property insrc/applications/new-form/config/form.js
. Initially set in the Yeoman generator. - Form subtitle: The
formConfig.subTitle
property insrc/applications/new-form/config/form.js
. The Yeoman generator does not set this by default. - Chapter title: The
formConfig.chapters.chapter1.title
property insrc/applications/new-form/config/form.js
. - Input field title: The
formConfig.chapters.chapter1.pages.page1.uiSchema
property insrc/applications/new-form/config/form.js
. - Required indicator: Shown because this particular field ID is included in the
formConfig.chapters.chapter1.pages.page1.schema.required
array.
- Form title in breadcrumb: Same as above
- Form title: Same as above
- Form subtitle: Same as above
- Chapter title: Same as above
- Input field title: The
formConfig.chapters.chapter1.pages.page2.uiSchema
property insrc/applications/new-form/config/form.js
.
- Form title in breadcrumb: Same as above
- Form title: Same as above
- Form subtitle: Same as above
- Chapter title: Same as above
- Page title: The
formConfig.chapters.chapter1.pages.page1.title
property insrc/applications/new-form/config/form.js
. - Page title: The
formConfig.chapters.chapter1.pages.page2.title
property insrc/applications/new-form/config/form.js
.
NOTE: Page titles are not shown on the review page if the chapter they belong to only has a single page.
Back: Vets Website Forms in Production
Next: Creating Form Schema