Skip to content

Dynamically change validationRules depending on submit action #189

Description

@lizdenhup

Hi!

This is a great library which I realize is not being actively maintained right now, but I opened this issue in case anyone else has figured out how to use angular-form-for in this way:

I would like to dynamically change the validationRules being passed in to the form depending on whether a user clicks one of two buttons. Is this possible? I've read the documentation and perhaps this is me not understanding, but I would really like to have some way to alter which set of validationRules gets passed in depending on a user's action. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions