Set Label

This behavior can be applied to any text field. For example, applying the behavior to a <input> tag will delete the value of the selected text field when the the cusor enters the text field. If no value is entered into the text field it will restore when the cursor leaves the textfield. Please apply the behaviour twice to return the text field value to it's previous setting. Change onFocus to onBlur.

Summary

1. Apply Behaviors > Forms > Set Label

2. Reapply Behaviors > Forms > Set Label

3. Change the Events Property on the second Set Label to "onBlur"

 

Here are two examples:

Register:


Search:

For further help and tutorials visit our website:

Extension Development

Copyright © 2002 Pixelagent