In what situations is it advisable to use a submit button in PHP forms instead of relying on "RETURN" key submission?

When dealing with PHP forms, it is advisable to use a submit button instead of relying solely on the "RETURN" key for submission in situations where you want to ensure that the form is submitted only when the user explicitly clicks the submit button. This can prevent accidental form submissions and provide a clearer user experience. By including a submit button, you give users a clear indication of how to submit the form, reducing the chances of errors.

<form method="post" action="process_form.php">
  <input type="text" name="username" placeholder="Enter your username" required><br>
  <input type="password" name="password" placeholder="Enter your password" required><br>
  <input type="submit" value="Submit">
</form>