0

I have a form with various fields and a submit button

The submit action depends on some external data. While that data is being fetched, the submit action cannot be processed.

I am fetching that data on page load. I have 2 options:

  1. Disable only the submit button while the data is loading. The user can fill out the form, but if the data has not finished loading they will have to wait before submitting. Cons: The user might not understand why they button is disabled. The button is in a loading state before the user has interacted with it. If the loading is quick, it will look like the button is "flickering". Pros: the user can start inputting data during the loading
  2. Disable the whole form and show a loading indicator. Cons: Loading screens are annoying. User cannot start filling the form. Pros: Less confusing for the user?
  3. Fetch the data on submit. Cons: Cannot fetch in the background, so it might increase the submit delay. Pros: no loading indicator until the user has interacted with the submit button.

Is there a recommended approach?

1 Answer 1

1

Based on the options you described, it seems that the external data doesn't inhibit a user's ability to fill out the form — just submitting it.

Your "Fetch the data on submit" option sounds the most user-friendly since it's not uncommon for someone to experience some latency when submitting a form (e.g. clicking "Pay Now" at the end of the checkout experience).

Depending on the length of the delay, remember to communicate expectations accordingly and make users feel like you're listening.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.