Closed holdenhinkle closed 1 week ago
Form pre-fill for the vets-api
backend is thoroughly explained here: https://github.com/department-of-veterans-affairs/va.gov-team/blob/master/teams/vsa/teams/ebenefits/engineering/prefill_setup.md. An example PR that runs through all the necessary additions is here: https://github.com/department-of-veterans-affairs/vets-api/pull/5391.
config/form_profile_mappings/28-1900.yml
.app/models/form_profile.rb
. They need to be defined under ALL_FORMS
and FORM_ID_TO_CLASS
.prefill: true
to config/settings.yml
spec/models/form_profile_spec.rb
to cover each formvre_readiness: ['28-1900']
?
Issue Description:
The goal of this ticket is to understand the form pre-fill capabilities present within vets-api and how to set it up and utilize it for our specific forms (21-22 & 21-22a) regarding Appoint a Rep.
Tasks:
Acceptance Criteria: