Here is a possible solution for a reminder form that gathers case data and routes to the api endpoints.
I wasn't sure how to get arraignment data from api/case with case# alone, so I added year and county inputs to the form
JavaScript axios requests are always nice to prevent page reload, but since this is a python project I let the page reload with a django message displayed.
Testing was a little tricky. To get tests to run without static file errors, I had to run 'manage.py collectstatic' before. I did delete the files afterward so I wasn't leaving anything in /staticfiles that wasn't there before. Also, successful 'Reminder scheduled' messages required actual case validation and arraignment data, so I used actual case data to test. I'm not sure if that's bad form or not, so I welcome any feedback.
Here is a possible solution for a reminder form that gathers case data and routes to the api endpoints.