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

Collection of functions for displaying validation results to the user

These functions should be used as handlers for glow.forms.Form's validate event. At the moment there is only one provided handler, more may be added in the future.

Of course, you don't have to use any of the methods here, you can provide your own.

Further Info & Examples

Methods

defaultFeedback

Default handler used by glow.forms.Form.

Synopsis

glow.forms.feedback.defaultFeedback(result);

Parameters

result
Type
glow.forms.ValidateResult

Object provided by the validate event

Description

This method outputs messages to the user informing them which fields contain invalid data. The output is unstyled and flexible.

Further Info & Examples

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

BBC © 2014 The BBC 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.