Location: PHPKode > projects > Real Estate Management > admin/forms/admin/areas/add.xml
<form>
	<title>Add / Edit Area</title>
	<action>index.php?sub=areas&action=store</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=areas</location>
		</return>

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

	</buttons>

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

	<fields>

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

		<area_name type="textbox" size="40:100" unique="true" required="true" validate="A:1:100">
			<title>Area</title>
			<description>Enter an unique name for this area.</description>
		</area_name>

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