nnmware / devoops

DevOOPS Bootstrap 3 Admin theme
GNU General Public License v3.0
852 stars 416 forks source link

AutoComplete Values Filled In Inputs Shows the Bootstrap Validation Errors #22

Closed mohamedmusthafac closed 10 years ago

mohamedmusthafac commented 10 years ago

If we fill out the input fields using autocomplete still it shows up the Bootstrap validation errors

For Example: though if the username is correct which i filled using autocomplete it still shows the error of the username validation

In forms_layouts.html under Validator Forms

devoopsme commented 10 years ago

Maybe after autocomplete you need call event for bootstrap validator plugin. We not use autocomplete in theme. Please read documentation for validator plugin.

simonckenyon commented 10 years ago

i have been moveing over to http://bootstrapvalidator.com/ which i find to be superior to the jquery validator plugin.

mohamedmusthafac commented 10 years ago

sorry it is some problem with my browser

devoopsme commented 10 years ago

No problem. We glad if theme help you in work or learning!

mohamedmusthafac commented 10 years ago

Thank you devoopsme for your kind reply it helps me lot in both learning and work

vsbhati commented 9 years ago

hello everyone, i have same problem but did not get right answer from here !

As eg. I have four fields. if i click on submit button it 's shows validation error on every field. after that if i select drop down list than other 3 fields auto fill by ajax. but still they shows validation error untill i modify that fields. Please let me know there is any solution !!! Thanks in advance. vaidation error

devoopsme commented 9 years ago

Need learn api of bootstrapvalidator. Maybe resetForm method help you. http://formvalidation.io/api/#reset-form Or maybe can use update-status method, for manually set 'field is valid' http://formvalidation.io/api/#update-status

vsbhati commented 9 years ago

Thanks for your reply @devoopsme i got solution, when we fetch data by ajax than after fetching data we have to refresh validation for particular field. Like :
$('#add').bootstrapValidator('revalidateField', 'name');

it's revalidate that field and it's best solution. i got one thing that searching keyword comes with our experience. thanks again.