Skip to content

Submit Request action doesn't clear form on submit #99

Description

@nrsa222

Describe the bug
When a user submits the request form and is redirected to Aeon the form on Finding Aid should clear all data but it doesn't. The "cart"/form data is cleared if moving between finding aids as expected.

The form will allow you to submit the request again but the Aeon side will give the user an error "This form has already been submitted. Duplicate request not created."

There should also be a notice (text and/or external link icon) that upon "Submit Request" the user is going to be redirected to another site and that site opens in a new tab.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any finding aid (ex. https://exploreuk.uky.edu/fa/findingaid/?id=xt75736m0k6d)
  2. Add any item to "cart"
  3. Fill out form
  4. Click "Submit Request" button.
  5. Return to same finding aid.
  6. See form still filled out

Expected behavior
Once a user submits the form, the form data should be cleared from the form.

Screenshots
Aeon error message for duplicate submission attempts:

Aeon error message for duplicate submission attempts

FA form button and notice, not denoting to user that they are going to be redirected to a different site.

FA form button and notices, not denoting to user that they are going to be redirected to a different site.

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