Open FranECross opened 2 months ago
@FranECross This ticket is still blocked by https://github.com/department-of-veterans-affairs/vets-design-system-documentation/issues/2379.
@FranECross check progress and move back to blocked.
Pulling in as stretch for sprint 6.
Status
Description
New story carved off of #17568 for the web component's submit property, because it doesn't work yet, and wasn't submitting the form data. @laflannery discovered an existing DST issue that describes this problem: department-of-veterans-affairs/vets-design-system-documentation#2379.
History:
As part of this ticket: #17277 we attempted to convert the email signup form on the homepage to design system web components. Unfortunately, the simple implementation caused the form not to submit. We will need to explore further how to use the design system components to implement this form.
User story
End User's Point of View AS A Veteran, or their family member, caregiver or survivor I WANT the email sign up form to submit correctly SO THAT I can get the latest updates from the VA without errors
PO/PM Point of View AS A PO/PM responsible for the sign up form on the VA.gov home page I WANT the email sign up form to utilize web components AND to submit correctly SO THAT we are in alignment with the Design Team's current requests, as well as so that Veterans, their caregivers, family members and survivors can get the latest updates from the VA without errors
Engineering notes / background
This email form is an integration of the GovDelivery platform. Submissions are sent to GovDelivery via the form action https://public.govdelivery.com/accounts/USVACHOOSE/subscribers/qualify and hidden input fields.
Most recently modified here: #11389
Quality / testing notes
Acceptance criteria AC1: Veteran, their family member, caregiver or survivor successfully signs up for VA updates GIVEN: A Veteran, their family member, caregiver or survivor has entered their email address in the form in order to receive updates from the VA WHEN: I click the 'Sign up' button THEN: I want the form to submit my email address successfully so that I then receive updates accordingly