Skip to content

Setting the clear_on_submit parameter always clears, even when undesirable #199

@robinzimmermann

Description

@robinzimmermann

There are times when you want the form to clear if successful, but not if it fails. For example:

  • Fill in the register new user form.
  • But make the password something that will be unacceptable, like abc.
  • When you submit the form, it clears. Now you have to fill in every field again, not just the password field.

I would like the form to clear if the submission was successful, but not clear if there was an issue with one of the fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions