Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Builder: Add default paragraphs upon initial node creation #96557

Closed
7 tasks
ryguyk opened this issue Nov 6, 2024 · 0 comments · Fixed by department-of-veterans-affairs/va.gov-cms#20589 · May be fixed by department-of-veterans-affairs/va.gov-cms#20382
Assignees
Labels
Drupal engineering CMS team practice area form-engine VA.gov Form Engine

Comments

@ryguyk
Copy link
Contributor

ryguyk commented Nov 6, 2024

The default steps do not require any user input. As a result, they should be "COMPLETE" immediately upon creating a new Digital Form. In order to accommodate that business logic, we need to create and add these paragraphs when the Digital Form is created in Form Builder.

We have three default steps:

  1. Your Personal Information
  2. Address Information
  3. Contact Information

Acceptance Criteria

  • The default paragraphs are added when a form is first created:
    • Your personal information
      • This paragraph has two child paragraphs:
        • Name and date of birth
        • Identification information
    • Address information
    • Contact information
  • Code is implemented in a way that allows the creation with default values but also passed-in values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment