Ability to delete cached metadata
| Project: | Metadata |
| Version: | 2.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | davestewart |
| Status: | active |
I'm using metadata with the Validation plugin. A situation has arisen where I need to delete existing metatdata for a page to validate, as follows:
A Login screen expects an email and password. However, if the user has forgotten their password, they will just input their email and press an alternative submit button to have the back end process their request and email their password.
In this case, validation needs to be removed from the password field for a successful submit (a blank password will not validate!), so I have to manually loop through the metadata and remove one by one.
Seems like a good case for $('#password').metadata().delete() to me!
Many thanks,
Dave Stewart
