question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey everyone,

Is there any way to do form validation without having to extend the IRootScopeService to include your form name?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
StummeJcommented, Jan 30, 2018

Aah ng-form for the win. Thank you for the help again!

0reactions
aciccarellocommented, Jan 30, 2018

@StummeJ I’m not sure what you mean. Do you mean nested forms? AngularJS already supports this. I believe the form becomes a property of the parent form. https://docs.angularjs.org/api/ng/directive/ngForm

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client-side form validation - Learn web development | MDN
This is called client-side form validation, and helps ensure data submitted matches the requirements set forth in the various form controls.
Read more >
JavaScript Form Validation - W3Schools
HTML form validation can be done by JavaScript. If a form field (fname) is empty, this function alerts a message, and returns false,...
Read more >
Form validation using HTML and JavaScript - GeeksforGeeks
Validating a form: The data entered into a form needs to be in the right format and certain fields need to be filled...
Read more >
FormValidation: The best validation library for JavaScript
The best validation library for JavaScript. No dependency. Supports popular frameworks including Bootstrap, Zurb Foundation, Pure, Semantic, UIKit, Bulma, ...
Read more >
Form validation | Can I use... Support tables for HTML5, CSS3 ...
Method of setting required fields and field types without requiring JavaScript. This includes preventing forms from being submitted when appropriate, the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found