Added rule to get the value of the field only when it is visible. Fixes
#6
removed "save" call.