The problem cannot be submitted within the form caused by Angularjs Required,pattern __js

Source: Internet
Author: User


Http://www.cnblogs.com/lvdabao/p/3533585.html


When you make a form submission, the problem cannot be submitted in a form caused by a required,pattern of some hidden elements if there are more elements:

You can make the following print exclusions.

It is possible to play all the check elements of MyForm first, and then set up for suspicion.


MyForm. $invalid: {myForm. $invalid}}<br/>
myForm. $valid: {myForm. $valid}}<br/>
Pristine: {{myForm. $pristine}}<br/>
myForm. $dirty: {{myForm. $dirty}}<br/> myForm
. $error: {{ MyForm. $error}}<br/>

myForm: {{myform}}<br/>
: {selectbuildversion . $error}}     <br/>
Vendor:  {{Myform.vendor. $error}}       <br/>


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.