In some cases, submitting an input could implicate creating a new resource on the server. Prompting the user could prevent duplicating that resource.