Skip to main content

All Questions

0 votes
1 answer
67 views

Form input fields validation via jQuery and PHP

I want to validate my form input fields on button click in jQuery. But I don't want to use client side validation. How can I add PHP server-side validation on button click? I am using modal box for ...
Ali Akbar's user avatar
0 votes
1 answer
638 views

Ignore option in jquery validation doesn't work

I want to validate some hidden element in jquery <label class="btn col-1" style="padding-right:0px;"> <input id="Cert1" asp-for="Cert1.CertImageFile&...
Maryam's user avatar
  • 47
0 votes
2 answers
189 views

Return invalid submission if no Checkbox is checked on initial load of the page

I need my error handlers to fire if the form is submitted without any selection on initial load. If I add .prop('required', true) on each checkbox on document ready function, it would include other ...
Carl's user avatar
  • 1
0 votes
1 answer
46 views

jQuery plugin architecture issue for calling plugin's method without initialization

I have made a jQuery plugin to perform form validation before submitting the form to the server. for example case 1. I can call the following function directly. $('#btnSubmit').formValidator(); ...
Jitan Gupta's user avatar
0 votes
0 answers
219 views

jQuery unobtrusive validation min - max or zero

I have a form with 6 text fields. The validation is standard for 4 of them, with just and min / max value. However, for 2 of the fields, the value of a text field can be either 0 or between 2 values. ...
user2215975's user avatar
0 votes
3 answers
81 views

How to do validation on form submit using jQuery

I have three textbox, where i am replacing % with - on keyup. But i want to perform this on submit. I don't want to show the replacement to user but on submit it should get replaced. Don't know much ...
Janny's user avatar
  • 127
1 vote
0 answers
59 views

how to validate my login id which might be phone or email using Jquery validation

for my login screen, User can login by using his email or phone number. Here i am using jquery validation plugin. Below is my code : $('.login-form').validate({ errorElement: 'span', //...
Natarajan Nagarajugari's user avatar
0 votes
1 answer
2k views

enable submit button when jquery.validate has valiated the form

I have a form that is being validated using jquery.validate. I have added in reCAPTCHA 2.0 and this is being validated also. However I want the form's submit button to be disabled untill the form is ...
pedaars's user avatar
  • 151
0 votes
2 answers
2k views

Show error around radio buttons

The Jquery Validation plugin docs say you can validate that at least one radio button is selected. However, when trying to do so with some extra layout, I am not getting the error highlighting. My ...
Connie DeCinko's user avatar
0 votes
0 answers
45 views

Copying HTML table row with JQuery prevents form validation event firing

I have a JQuery plugin that binds the "change" event of all input and select elements contained by the last row of a table. When the event fires the handler creates a copy of the last row, inserts the ...
Colin's user avatar
  • 369
2 votes
1 answer
853 views

Angular2: How to trigger ng-valid when jquery plugin is attached to ng-form object?

I use the Angular2 ng-form and I like how it automatically figures out if all of the controls on the form are valid, and if so enables my form submit button. However, if I use a cool jquery plugin on ...
Andy's user avatar
  • 23
0 votes
2 answers
53 views

jQuery validation-does not form submit

I am using jQuery validation plugin.It validates successfully but after correct submission form not submitting. Here is the code: jQuery.validator.setDefaults({ debug: true, ...
nirav jobanputra's user avatar
1 vote
0 answers
35 views

Prevent jQuery validator plugin from validating multilpe forms on a page

So I am using this jQuery validator plugin. I have 2 forms on a page with different ids. Below is my source code. The problem is that this code is also validating the 2nd form on the page. That form ...
Slyper's user avatar
  • 906
0 votes
1 answer
190 views

Warning : unresponsive script error in jQuery Validation Plugin

I am adding a bunch of textboxes and select dropdown using ajax in my form. You can say add row type functionality. When I submit the form that time its going to validate via jQuery Validation Plug ...
Bhavin Patel's user avatar
0 votes
1 answer
743 views

Pass additional argument in jquery validation

I have below jquery validation for form, i want to pass additional argument in validation, so while submitting form, that value also pass with form data and send to my php server for processing, var ...
rjcode's user avatar
  • 1,323

15 30 50 per page
1
2 3 4 5
12