Questions tagged [jqbootstrapvalidation]

jqBootstrapValidation is JQuery validation plugin for bootstrap forms.

jqBootstrapValidation is JQuery validation plugin for bootstrap forms.

87 questions
11
votes
2 answers

BootstrapValidator form submit not working

I have a form with 2 buttons. One button submits the form in ajax format and another button submits the form in normal fashion. $('#form_createAd').bootstrapValidator({ submitHandler: function(validator, form, submitButton) { if…
10
votes
4 answers

Bootstrap validator not working when input field value is set with jQuery .val()

I've got a form with this field:
The value of the input field could be copied from…
kiks73
  • 3,718
  • 3
  • 25
  • 52
9
votes
4 answers

How to create a custom validation in Bootstrap Validation

My goal is to validate a specific text field where this field is dependent to the value of the other element. For example I have a select field and an input text field. Input text is required only when select tag has a selected value. Hope someone…
Andoy Abarquez
  • 1,119
  • 4
  • 17
  • 30
8
votes
1 answer

Bootstrap Validator for select fields

Trying to require that both drop down selection boxes have a chosen option before submit is enabled to be clicked. What is missing that is not allowing the plugin to check for validation? FORM:
Matt
  • 1,239
  • 4
  • 24
  • 53
6
votes
1 answer

jqBootstrapValidation not working, always return valid value;

Don't know why my validation is not working, have try to use various validator but the result always return as valid.. Need second eyes to spot the error.. First time using snippet, hopefully my snippet below is correct..
DoogyHtw
  • 341
  • 1
  • 3
  • 16
6
votes
6 answers

Bootstrap validator for modal doesnt reset Form

I am using bootstrap validator for my form inside modal.The validator gets retained on subsequent form access. For example if the do the following operation Access form enter some valid value and submit the form. Access the form again the color of…
6
votes
1 answer

disabling bootstrap validator submit button until entire form is valid

I have search StackOverflow for a solution to this problem but have not found one that works. I am validating a form with Bootstrap Validator and it works well. I want to disable the submit button until the entire form is valid and Bootstrap…
6
votes
2 answers

Disabling Bootstrap Validator for certain field

I'm new to Bootstrap Validator and Jquery generally and am trying to accomplish something. I have a form with fields e.g.
6
votes
3 answers

Stopping default form submit in Bootstrap Validator Form

I have seen this asked a couple of times, but they don't seem to apply in my situation. My form is being submitted before the validation is tested. form:
Ash
  • 24,276
  • 34
  • 107
  • 152
5
votes
2 answers

Bootstrap validator resetForm

I am using bootstrapvalidator with Bootstrap 3.3 I need to reset a form in a modal dialog. I used the right method but it does not work into the modal dialog. $('#emailForm').bootstrapValidator("resetForm",true); If I open the modal and insert an…
Nk SP
  • 822
  • 4
  • 19
  • 37
5
votes
2 answers

how to validate files by bootstrap validator?

I am trying to validate a form with bootstrap validator, but the file validation is not going normal, here is my code: cv: { validators: { file: { extension: 'doc,docx,pdf,zip,rtf', type:…
MD.MD
  • 708
  • 4
  • 14
  • 34
4
votes
1 answer

Bootstrap validation on dynamic added fields of same array name(input attribute) like name="email[]"

i am working on bootstrap validation. on page load, form is showing. user can load and remove same form by add more/remove links. i have done this using jquery. To post data of all the forms, i am using array name like name="email[]". i have done…
Dev001
  • 276
  • 1
  • 7
  • 25
4
votes
2 answers

Maximum call stack size exceeded when changing a class - Bootstrap, jQuery

I'm using jQuery 2.1.1, jQuery UI 1.11, Bootstrap 3.2, Fuel UX 2.3 (for the form wizard only) and BootstrapValidator v0.5.1-dev. I have a huge bootstrapped form in a Fuel UX Wizard, with BootstrapValidator validation, along with a ton of jQuery for…
3
votes
1 answer

How to dynamically pass an id to url of Bootstrap validator rule: remote for a same form input field?

Bootstrap Validator v 0.5.2 is being re-used for validating form (#myForm) in a modal. Need is dynamically pass an unique id (Foreign Key) to 'url' of 'remote' rule when form loads on a modal as below. var remoteUrl = "/remoteurl/"; var id =…
3
votes
1 answer

enable and disable field validation using bootstrapValidator

So I tried to check couple of solutions online but I couldn't find a solution that solve my problem regarding enabling and disabling field validation using bootstrapvalidator. I have a field that supposed to give error when someone enter a negative…
1
2 3 4 5 6