最后我找到了解决这个问题的方法
将字段设为全名,将密码确认为显示:无
将数据从username绑定到fullname,从password绑定到confirm password
例如(一个简单的绑定示例)
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$(\'#target\').bind(\'keyup keypress blur\', function()
{
$(\'#target1\').val($(this).val());
});
});
</script>
</head>
<body>
<form>
<fieldset>
<label for="target">Type Something:</label>
<input id="target" type="text" />
<input id="target1" type="text" />
</fieldset>
</form>
</body>
</html>
按照你的标准做上述操作我不知道这是否是一个完美的解决方案,但这解决了我的问题。