There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close

Processing...
This may take a few seconds.

if-form-changed

Syntax

if-form-changed: (form selector);

This conditional action will return true if the specified form has been changed since it was drawn.

form selector = CSS selector that references a specific form. It currently does not work with multiple forms.

For example, this will return true if the form #myForm has been changed.

@conditional formChanged {
    if-form-changed: #myForm;
}

When used on an event selector with no parameters in parentheses, it will default to checking "self". Eg. #myForm:if-form-changed: ...

if-form-changed