The forms currently only have basic client-side validation. The application should also do server-side validation, so that only valid data will be saved. It should ensure that:
- required fields are submitted
- the schedule value is properly checked based on the schedule type (e.g. cron expression or interval).
- clear messaging for form validation errors.
This could be implemented in a simplistic way using epicweb-dev/invariant. An alternative is to use Conform and Valibot. The following guides by Kent Dodds shows how to use it in Remix.