我对一个正在运行的div进行了kendo验证,另一个div我有AngularJS指令,但我无法实现验证并使其成为需要的字段。如何在业务流程名称中创建必填字段?
到目前为止尝试了代码...
div1.html
<div class="row">
<div class="form-group col-md-6 fieldHeight">
<label for="name" class="col-md-5 required">Business Process Name:</label>
<div class="col-md-7">
<input type="text" class="form-control" id="name"
ng-model="processDTO.processLongName"
placeholder="Process Name" maxlength="256" name="processName"
data-required-msg="Business Process Name is required" required><span
class="k-invalid-msg" data-for="processName"></span>
</div>
</div>
<div class="form-group col-md-6 fieldHeight">
<label for="countries" class="col-md-5 required">Geographic Locations:</label>
<div class="col-md-7">
<div multiselect-dropdown-tree ng-model="nonPersistentProcess.geoLocations" disable-children="true" options="treeviewOptions"></div>
</div>
</div>
</div>