Return to Snippet

Revision: 67054
at August 5, 2014 08:37 by DennisvanderStelt


Initial Code
<form action="/UserManagement/CreateUser" class="panel form-horizontal" id="createUserForm" method="post">
	<div class="panel-heading"><span class="panel-title">Invite user</span></div>
	<div class="panel-body">
		<div class="row">
			<div class="col-md-6">
				<div class="form-group">
					<input class="form-control" data-val="true" data-val-required="The MyName field is required." id="MyName" name="MyName" placeholder="Name" type="text" value="" />
					<span class="field-validation-valid help-block" data-valmsg-for="MyName" data-valmsg-replace="true"></span>
				</div>
			</div>
			<div class="col-md-6">
				<div class="form-group">
					<input class="form-control" data-val="true" data-val-email="The MyEmail field is not a valid e-mail address." data-val-required="The MyEmail field is required." id="MyEmail" name="MyEmail" placeholder="Email" type="text" value="" />
					<span class="field-validation-valid help-block" data-valmsg-for="MyEmail" data-valmsg-replace="true"></span>
				</div>
			</div>
		</div>
		
	</div>
	<div class="panel-footer text-right">
		<button class="btn btn-primary">Send invite</button>
	</div>
</form>

Initial URL

                                

Initial Description
Generated from MVC

Initial Title
Generated code from MVC for jQuery Validation

Initial Tags

                                

Initial Language
HTML