Location: PHPKode > projects > Real Estate Management > admin/forms/user/users/add.xml
<form>
	<title>Add / Edit User</title>
	<action>index.php?sub=users&action=store&type=add</action>
	<name>edit</name>
	<width>540</width>

	<formtag>true</formtag>
	<border>true</border>
	
	<buttons>		
		<set>
			<footer>true</footer>
			<header>true</header>
		</set>

		<return onclick="" button="return" >
			<location>index.php?sub=users</location>
		</return>

		<save onclick="" button="saveall">
			<location>javascript:document.forms[0].submit();</location>
		</save>

	</buttons>

	<redirect>index.php?sub=users</redirect>

	<fields>


		<user_id type="hidden" hidden="true"/>

		<user_name type="textbox" size="35" required="true" validate="A:2:200">			
			<title>User Name</title>			
		</user_name>

		<user_login type="textbox" size="20" unique="true" required="true" validate="A:2:200">			
			<title>Login</title>			
			<description>Enter the login name this user will user to login in the admin panel</description>
		</user_login>

		<user_password type="textbox" size="20" required="true" validate="A:2:200">			
			<title>Password</title>			
		</user_password>

		<user_level type="droplist" empty="true" required="true" validate="A:1:200">			
			<title>User Level</title>			

			<options>
				<option name="1">Normal User</option>
				<option name="0">Administrator</option>
			</options>

			<description>Normal users can only view, only admins can save/edit/delete.</description>
		</user_level>

	</fields>
</form>
Return current item: Real Estate Management