added noconfirm switch for smarty form template