⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinfo.vm

📁 一些数据库的java开发编程
💻 VM
字号:
$validator.getDynamicJavascript()
#set( $userinfo = $shopping.getUser() )
<script language="javascript">
function validateSubmit( form )
{
	if( validateUserinfoForm( form ) )
	{
		if( form.password.value==form.repassword.value )
		{
			return true;
		}
		alert( "$text.userinfo_password_notsame" );
		form.password.value="";
		form.repassword.value="";
		form.password.focus();
	}
	return false;
}
</script>
<table width="350">
	<tr><td align="center" colspan="2">&nbsp;</td></tr>
	<tr><td align="center" colspan="2">$text.userinfo_title_register</td></tr>
	<tr><td align="left" colspan="2"><font color="red">#messageMarkup( )</font>&nbsp;</td></tr>
	<form name="main" method="post" action="userinfo.do?p=store" onsubmit='return validateSubmit(this)'> 
	<tr>
		<input type="hidden" name="id" value="$!userinfo.id">
		<td align="right" width="150">$text.userinfo_item_logname</td>
		<td ><input name="logname" type="text" maxlength="32" value="$!userinfo.logname">&nbsp;*</td>
	</tr>
	<tr>
		<td align="right" width="150">$text.userinfo_item_password</td>
		<td ><input name="password" type="password" maxlength="32" value="$!userinfo.password" >&nbsp;*</td>
	</tr>
	<tr>
		<td align="right" width="150">$text.userinfo_item_repassword</td>
		<td ><input name="repassword" type="password" maxlength="32" value="$!userinfo.password">&nbsp;*</td>
	</tr>
	<tr>
		<td align="right" width="150">$text.userinfo_item_name</td>
		<td ><input name="name" type="text" maxlength="16" value="$!userinfo.name">&nbsp;*</td>
	</tr>
	<tr>
		<td align="right">$text.userinfo_item_idnumber</td>
		<td ><input name="idnumber" type="text" maxlength="32" value="$!userinfo.idnumber"></td>
	</tr>
	<tr>
		<td align="right">$text.userinfo_item_postcode</td>
		<td ><input name="postcode" type="text" maxlength="16" value="$!userinfo.postcode"></td>
	</tr>
	<tr>
		<td align="right">$text.userinfo_item_address</td>
		<td ><input name="address" type="text" maxlength="128" value="$!userinfo.address"></td>
	</tr>
	<tr>
		<td align="right">$text.userinfo_item_email</td>
		<td ><input name="email" type="text" maxlength="64" value="$!userinfo.email"></td>
	</tr>
	<tr>
		<td align="right">$text.userinfo_item_telp</td>
		<td ><input name="telp" type="text" maxlength="64" value="$!userinfo.telp"></td>
	</tr>
	<tr>
		<td align="center" colspan="2">
			<input type="submit" value="$text.btn_save">&nbsp;&nbsp;
			<input type="reset" value="$text.btn_reset">
		</td>
	</tr>
	</form>
</table>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -