In your script editor, at the top left hand corner, there is a drop-down which allows you to associate scripts with events for a particular field. So, if you have a text field, select it in your form and associate a change event script with it.Hope this helps.