Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-bootstrap-form-validation

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-bootstrap-form-validation

AngularJS directives for Twitter Bootstrap 3.0 form validation

  • 0.9.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-bootstrap-form-validation Build Status Coverage Status

AngularJS directives for Twitter Bootstrap form validation.

Installation

With Bower:

bower install --save angular-bootstrap-form-validation

How to use

  1. Include the module ui.bootstrap.validation in your angular app:

  2. Include the directives in your form

<form name="someForm" novalidate ui-validation-submit="save()">
	<div class="form-group" ui-validation-show-errors>
		<label for="someField" class="control-label">Some field</label>
		<input type="text" name="someField" required class="form-control" ng-model="someField">
		<ui-validation-error-messages>
	</div>
	<button type="submit" class="btn btn-primary" ng-disabled="someForm.$pristine">Save</button>
</form>
  1. (optional) Use localized error messages (only pt-br available):
<script src="form-validation-locale_pt-br.js"></script>

Keywords

FAQs

Package last updated on 27 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc