XForms tip, Using the incremental attribute to detect keystrokes

From the developerWorks archives

Tyler Anderson

Date archived: December 6, 2016 | First published: February 06, 2007

One of the slickest application genres are those that update data as you type. XForms does this with finesse! Controls have the ability to send events after each keystroke entered within them using the incremental attribute. That way controls that need to change their data based on the data of a control that's changing incrementally can also update their data incrementally, effectively keeping what's viewed "on screen" in sync across the board. This tip shows you how to make the most of the incremental feature with sample XForms code.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=194033
ArticleTitle=XForms tip: Using the incremental attribute to detect keystrokes
publish-date=02062007