This task is to design a waiver form on the frontend that the admin creates. So this is a form to create a specific waiver form. The fields the admin needs to fill out include:
title for form (limit of let's say 200 chars)
description (limit of 500 chars)
complete by date (datepicker)
The data of the form that gets sent to the backend endpoint /api/form/waiver as a POST request:
title for form
description
complete by date
[ ] New page on /form/waiver on frontend
[ ] Page let's user fill out form fields mentioned above
[ ] Page does validation on inputs
[ ] Page makes HTTP request to endpoint with given fields as JSON
[ ] Create interface(s) for the data required here (so called like WaiverFormRequest)
This task is to design a waiver form on the frontend that the admin creates. So this is a form to create a specific waiver form. The fields the admin needs to fill out include:
The data of the form that gets sent to the backend endpoint
/api/form/waiver
as a POST request:title for form
description
complete by date
[ ] New page on
/form/waiver
on frontend[ ] Page let's user fill out form fields mentioned above
[ ] Page does validation on inputs
[ ] Page makes HTTP request to endpoint with given fields as JSON
[ ] Create interface(s) for the data required here (so called like
WaiverFormRequest
)[ ] Create some unit tests for the page