If the user is working with a browser that supports dynamic HTML (DHTML), Validation can perform validation using client script. It can provide immediate feedback without a round trip to the server
Questions tagged [client-side-validation]
512 questions
-1
votes
2 answers
jQuery Validate - Checkbox Group ONLY ONE can be checked
I'm seeing a LOT of "at least one needs to be checked", but I'm not seeing any solutions on how to limit a checkbox group to only ONE can be checked.
EDIT: 3/2/17 # 9:20am
Why not a radio button?
Here's why: This particular group of checkboxes…

Murphy1976
- 1,415
- 8
- 40
- 88
-1
votes
1 answer
jquery validate- add url methode with regex to allow url without http
I have a form running with jquery validate. The url methode they are using require http to be added to the url, and I want to allow users to submit url without http and or www. I used add methode:
jQuery.validator.addMethod("urlRegex",…

Noam Gur
- 65
- 11
-1
votes
1 answer
Need to identify which textbox is used using javascript
I have four text boxes in 4 different tabs of an ASP.NET Page. I need to provide same validation message to all the text boxes. Presently I am using four different functions with same functionality. Kindly suggest a way to identify which textbox is…

Sachin
- 21
- 6
-1
votes
1 answer
Server Side Validations in asp.net bootstrap on client side
I have used Bootstrap for my asp.net web form client side validations.
How can I achieve Server side validations.
Please give me suggestions on this.
Regards,
Venkata Avula.
-1
votes
1 answer
class member 'required' data attribute not throwing error but not saving to db either
I have a class 'YogaSpaceOverview' here with a title property that has a required attribute.
My problem!
When I pass in a title that's blank "", nothing happens, it doesn't get saved to the db, but no error or exception is thrown from the…

chuckd
- 13,460
- 29
- 152
- 331
-1
votes
1 answer
Client-side validation using a jQuery plugin
I Have some basic Requirement like
Should Validate Form on the ButtonClick (like we have ValidationGroup in Asp.net) because I have one
Submit Button on Page (btnSubmit)
Cancel Button ( If user Click on Cancel Button .. No validation Should be…

user2961938
- 85
- 1
- 6
-1
votes
1 answer
Client side date validation using JavaScript
I have a form in which there are 2 jQuery datepickers, one for start date and a second one for end date. I want to add date range validation on them so client cannot select today's date and also future dates.
@{Html.BeginForm("ExportToExcel",…

rao
- 223
- 2
- 7
- 17
-1
votes
1 answer
client_side_validations - How to reset form errors and style if valid?
I am using the client_side_validations gem.
How can I change styles if valid or if it is passed?
How can I remove or reset all form errors?

Rails beginner
- 14,321
- 35
- 137
- 257
-1
votes
1 answer
What gem better : jCheck and client_side_validations
I want to compare them: both of gems have advantages and disadvantages.For example in client_side_validations more clear and more Ruby to create custom notifications,BUT I have problems with its installation Can't include js file for client slide…

Denys Medynskyi
- 2,353
- 8
- 39
- 70
-2
votes
2 answers
Which side front-end or back-end , attachment file size check should be placed ?
Suppose client wants to upload image file or any other attachment .
And maximum size can be 10 Mb ,
So where file size check should be placed front-end or server back-end side?
which is better design and why ?

user18424
- 401
- 1
- 3
- 8
-2
votes
2 answers
How to validate Mobile number for different countries
the length of mobile number varies from country to country. Tired regular expresssion but (Ex:India allows 10 digits, which is not validating UAE which ranges from 7 to 9 digits)

VinodBokare
- 41
- 2
- 6
-2
votes
3 answers
Show model errors in client side without postback
I have created a form using asp.net mvc with service layer to validate business logic without model validation using Data Annotations.
This is my code in the service class for validation
public class TutorService : ITutorService
{
…

Sithira Pathmila
- 145
- 1
- 3
- 10
-2
votes
1 answer
Can someone help me with the logic of this calculation?
I'm using asp.net vb and website is on client side. I have no idea how to perform this calculation. The website will set a payment plan. The time frame is 12 months and the minimum amount of a payment can be 25, but if they enter more than 25 is…

Lily
- 99
- 9
-2
votes
1 answer
Merge validation summary in single line(All required validation in single line,All invalid field validation in single line etc)
I am creating one ASP.NET MVC Application using JQuery,KnockOutJs etc.
I have one model for SignUp and use client side validation only.
public class SignUp
{
[Required(ErrorMessageResourceType = typeof(Messages), ErrorMessageResourceName =…

Nilesh Moradiya
- 691
- 1
- 10
- 19
-3
votes
3 answers
form validation JS - validate first name input field
Can anyone be kind enough to show me how I can validate this input field? Submit button is disabled until validation is checked. Many thanks in advance, any help to get me started is much appreciated.
Here's my code: