如何在单击后禁用createuserwizard中的createuser按钮 [英] How to disable createuser button in createuserwizard after one click

查看:81
本文介绍了如何在单击后禁用createuserwizard中的createuser按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

i am in a condition i want to disable create_user button of createuserwizard after one click to avoid duplicate records... actually i have updated the username in created_user event.. so now there is a possibility to enter record twice if user presses button twice..

.





我尝试过:





What I have tried:

I am not getting any property of that button to disable.. even i m not able to edit that button in the edit template..

even i dont know the id of that button so that i can use javascript to disable the button.

So please guide me how to do this.

推荐答案

如果你想完全控制你的过程和Button的逻辑,然后你最好设置自己的HTML标记而不是依赖向导步骤。



另外,有几种方法可以防止重复条目。其中一个选项是在代码中定义一个标志,以确定用户是否已经创建了一个帐户并根据该标志触发验证。
If you want to have a full control over your process and Button's logic, then you'd better setup your own HTML markup rather than relying on the Wizard Steps.

Also, there are a few ways to prevent duplicate entry. One of the option is to define a flag in your code to determine if the user has already created an account and trigger a validation based on the flag.


这篇关于如何在单击后禁用createuserwizard中的createuser按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆