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

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

	</buttons>

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

	<fields>

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

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

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