parsley.js Questions

7

Solved

Is there an easy way with parsleyjs to make a field required depending on another field? See my js fiddle here http://jsfiddle.net/marksteggles/wbhLq0t4/1/ <form data-parsley-validate="true"&g...
Amarillo asked 12/2, 2015 at 11:36

3

Solved

How do I tell the parsley-Instance to exclude not visible form elements? I found this in the Documentation: data-parsley-excluded="input[type=button], input[type=submit], input[type=reset], input...
Dendrochronology asked 7/4, 2014 at 13:56

3

Solved

I have the following input field: <input id="name" name="real_name" type="text" placeholder="ie. Your full name or company name" class="form-control input-lg parsley-validated" data-required="...
Teryl asked 27/1, 2014 at 22:15

3

Solved

I've been searching through out the net but I can't find a way to validate select2 using parsley, the one discussed here doesn't seem to work Select2 validate and force user to select ast least X i...
Calciferol asked 16/12, 2014 at 1:23

3

Solved

I have used parsley.js many times and have literally copied the code from my last use of parsley. However, every time I submit the form the page refreshes. preventDefault seems to work on my other...
Mistletoe asked 21/9, 2014 at 11:2

3

Solved

Given this code, it never works and always returns true whatsoever ? <form id="my-form" data-validate="parsley"> <p> <label for="username">Username * :</label> <input...
Tradesman asked 1/4, 2014 at 9:15

3

Solved

I am using parsleyjs.org to validate my forms. The plugin creates a ui.parsley-errors-list when an input has a validation error. The problem is that the .parsley-errors-list is being placed jus...
Ellen asked 8/5, 2015 at 10:52

4

Solved

Does anyone know how to make the "Google ReCAPTCHA (v2)" be "required" in a form? I mean no form submission until recaptcha is filled-in? I use ParsleyJs in my form, but didnt find a way to make ...
Addend asked 13/4, 2015 at 18:52

3

Solved

I have a form ('#registrations') that I am validating with Parsley.js and so far it is working fine. However, I am trying to dynamically remove form fields and add new ones to Parsley validation, d...
Rebak asked 18/2, 2014 at 22:48

2

Solved

Currently I'm using data-parsley-`constraint`-message="English sentence goes here" but now that I'm working to add localization these messages will never be translated using the i18n library bec...
Clytemnestra asked 22/8, 2014 at 19:47

2

Solved

I am using Twitter Bootstrap 3.1.1 with Parsley v2.0.0-rc3. I made it mostly work apart from classHandler option. I have HTML like this: <div class="form-group"> <label class="control-...

5

It would be great if it was possible to do such thing as $('input.specific-field').parsley('error', 'this is a custom error message'); ...but I guess that isn't possible? How could I achive suc...
Unto asked 15/1, 2014 at 21:7

3

Solved

I am validating a password field with parsleyjs. The password has three requirements and thus three validation messages: Password needs to have at least 8 characters One special character is requ...
Ratha asked 20/2, 2017 at 12:5

2

Solved

i'm using ParsleyJS library to validate my form, but if a field is invalid i only want to apply the error classes but i don't want to display the error messages. If i use the property data-show-err...
Immunity asked 15/8, 2013 at 15:19

6

Solved

Using Parsley.js, is it possible to specify the element that should hold the error messages? I tried: $('#myForm').parsley({ errors: { container: { $('#errorMessages') } } }); But the error...
Coffeecolored asked 30/1, 2013 at 12:22

4

I have problem with the Parsley.js Framework. My Problem is that the password and password confirm have the same input, but I have a error message if click on the submit button. Here my Testsite...
Munro asked 13/8, 2013 at 15:15

1

Solved

I am currently trying to implement Parsleyjs 2.2 to work nicely with Bootstrap 3.3. But I am experiencing some problems with getting the errors displayed beneath the text-field with an addon (input...

3

I'm using Parsley.js to validate part of a form like in this example. However, the validate() method always returns false, even when that piece of form should validate. No error messages are displ...
Ambitendency asked 16/12, 2014 at 18:5

1

I had trouble implementing parsley.remote.js because of AMD in our require configuration. I'm trying to implement a custom validator that does an AJAX request and returns true or false based on th...
Murial asked 6/8, 2015 at 18:8

3

<form id="f"> <div class="form-group"> <label for="exampleInputEmail1">Email address</label> <input parsley-type="email" class="form-control" id="exampleInputEmail1" p...
Ashwell asked 19/2, 2014 at 14:51

1

Solved

I have the following custom validator. The intended purpose is to validate the field contingent upon the value of the field passed in as 'requirement'. The 'requirement' field updates onchange of ...
Euphonium asked 4/6, 2015 at 19:33

4

Solved

i am using parsely validation with angular js but its not working what i am doing wrong can any one correct or detect the mistake in my code. if i am submiting so its not working not showing me any...
Outing asked 12/11, 2013 at 16:12

1

Solved

I am using Parsley validator validating my JSP form. However I am having an issue when validating numbers. Please have a look at the below code. <form class="form-horizontal" method="post" acti...
Oculist asked 24/4, 2015 at 9:2

2

I have an input for telephone number. I would like to write this format: 0175 6565 6262 (with spaces). But if write with " " spaces so get error and I write without spaces so get not error. Her...
Howell asked 12/4, 2014 at 15:2

4

I want to alter the positioning of each error message. That is display the error message in the respective <div class="errorBlock"></div>. By using the documentation's code the the erro...
Curet asked 11/2, 2014 at 12:57

© 2022 - 2024 — McMap. All rights reserved.