³ÉÈË¿ìÊÖ

Please turn on JavaScript. To find out how to do this visit the .

Validating HTML Forms. To get started, you'll need to create a Form instance.

Properties

FAIL

Constant for a failing test.

Type

Description

This indicates that the value in a field fails at least one of the tests associated with it. You can use this when creating custom tests

PASS

Constant for a passed test.

Type

Description

This indicates that the value in a field passes all the tests associated with it. You can use this when creating custom tests

SKIP

Constant for a skipped test.

Type

Description

This indicates that there was some unmet condition associated with the applied tests, so they were not run. This state is not considered a fail, and will not affect glow.forms.ValidateResult#errorCount. You can use this when creating custom tests.

Namespaces

feedback

Collection of functions for displaying validation results to the user

tests

Collection of built-in tests that can be added to any form field as a way of validating that field's value.

Classes

Form

Create an object to add tests to.

ValidateResult

The overall result returned by an attempt to validate the current state of the form.

Documentation generated by 2.1.0 on Thu Jul 07 2011 12:47:28 GMT+0100 (BST)

³ÉÈË¿ìÊÖ iD

³ÉÈË¿ìÊÖ navigation

³ÉÈË¿ìÊÖ Â© 2014 The ³ÉÈË¿ìÊÖ is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.