You can also add your javascript code to do stuff like programmatically change or monitor the value of a field. To add your javascript code do the following:
1.- Go to the settings panel

2.- Go to the javascript tab

3.- Put your code in the big text field.