added json.success == 0 to submitForm method
renamed error callbacks form failure to error
removed idle success callback from sendInPlaceBooleanValue