Skip to content

When mandatory fields are submitted empty.  #10

Description

@acpease

When submitting a report, if I select the form "secondary project" (which is not the default form on the 'submit a report page'), and then fill out the report but forget to fill out one of the mandatory fields (*), the page reloads with an error message indicating my mistake:
image

The problem is that in the process of reloading, this form reverts to the default "primary assignment" form (even though "secondary project" is still shown in the drop-down menu), and all the previously inserted information on the "secondary project" form is lost.
image

Can we change this so that if a mandatory field form is blank when someone submits the report, the page doesn't reload and default to a different form, but just displays an error message notifying the user to fill in the mandatory field. I don't want anyone to lose information they wrote on the forms.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions