support clear_blanks parameter in submit/insert