Cannot save script

Cannot save script

There seem to be some issues as I have searched throughout the forum for this topic, but I am still not sure what to do.

I am trying to enter some very simple script for the 'on update' event of a form field.  When I hit the 'save script' button at the right lower corner, I get a message in green that says 'script generated'.  However, when I leave that page and come back to it immediately, I find that the script has not been changed.  I have, at times, been able to save changes, but cannot figure out what I am doing wrong.

There are also some issues like this when switching between script builder and free script.  Things just disappear.  

Any ideas?