Questions tagged [parsley]

Parsley is an Application Framework that helps Flex/Flash developer create large scale enterprise applications. It uses the concept of dependency injection but has many extra features that helps reduce development time and complexity.

144 questions
0
votes
1 answer

How do I set up parsely with nodejs?

I've been working on form validation for days. I'm trying to validate a multi step form. I'm using Nodejs, ES6, Express, PUG. I'm having a hard time finding something that works. I think parsley would do it for me, but I cant get it to work with…
Ian Ellis
  • 541
  • 6
  • 19
0
votes
1 answer

Laravel 5.7 - Custom Validation Message parsley

I am developing a system and in my system I implemented the parsley. I want to change the validation message when the certain field didn't meet the requirement. For example Name Input Description Input Rate Input My parsley validation is working…
Angel
  • 966
  • 4
  • 25
  • 60
0
votes
1 answer

Clarification on data-parsley-`constraint`-message in Parsley.js

As per the documentation, Parsley allows us to override error messages with the data attribute data-parsley-constraint-message. What's not specified, however, is a complete list of constraint names you can use. The only example we have in the…
GiS91
  • 175
  • 1
  • 4
  • 12
0
votes
1 answer

Parsley: How NOT to validate on certain events

I want to trigger the parsley-error on an input text field only at the time of 'focus out' and not on change event. These are the steps I perform to produce the issue: Enter some invalid characters in the text field. At this point of time, the…
Man
  • 43
  • 1
  • 8
0
votes
1 answer

Parsley validate if default value are not update

I have created a form with around 18 input fields. All the input fields contain 0 as the default value. I need to validate and prevent form submission and need to show an alert message if at least one of the default value won't be changed or updated…
SethuNagaKarthik
  • 387
  • 1
  • 3
  • 17
0
votes
0 answers

Regex for one word, no white space

Is there a simple regex that only matches one word with no white space? I am using parsley to validate Cognito username. Cognito allows any character for username, as long as there is no whitespace, and returns an error if you enter a whitespace…
Arlo Guthrie
  • 1,152
  • 3
  • 12
  • 28
0
votes
1 answer

parsley custom validator not responding on First click

I am trying to do luhn check validation for a field which should be validated after parsley.validate() method. Please find my below code,
Bharathy
  • 1
  • 2
0
votes
1 answer

Parsley validation does not work for select drop down

I use parsley validation for my form but it does not work for the select list while it does for the input. I already try to add the attribute data-parsley-required="true" but it does not work either. Removing tabindex and the same problem still…
D.T
  • 437
  • 8
  • 20
0
votes
1 answer

Powermail broke on first click to submit

I have an error with my powermail form. I copied one form from my site and made some little changes and now the new form doesn’t work right. When I click on submit the form isn’t send it only “destroys” the frontend and I have to fill the fields…
0
votes
1 answer

next button with enter key in parsley validator

I used parsley validation pack for two step form. this is html:
0
votes
0 answers

Autonumeric not working with Parsley

I am using auto numeric plugin for currency input fields. @Html.TextBoxFor(m => m.Principal, new { @class = "form-control money", @required = "required", @data_parsley_min = "1", @data_parsley_errors_messages_disabled="" }) In the above field I…
Ahmad
  • 887
  • 7
  • 21
0
votes
1 answer

Add custom Parsley validation

I have the following code. First zone is for telephone and second is for email validation. I'm trying to use Parsley library for validation. The requirement is to validate at least one of it. How should proceed for that. Any pointers is…
Arindam Sahu
  • 227
  • 1
  • 3
  • 10
0
votes
1 answer

Parsley remote validation is performed several times, even after successful submission

I am using Parsley in my project for form validation. One field in said form is an ID that must be unique - so I have added my own addAsyncValidator and on the backend I return 404 or 200 depending on whether an entry with the ID already exists or…
NL3
  • 117
  • 1
  • 10
0
votes
1 answer

Thymeleaf adding attribute to only the first item from the each loop

I'm trying to validate with parsley but by adding a data-parsley-min="1" to my input loop will add them to all of them. For some reason it's not working now and I'm thinking it's because the multiple data-parsley-min="1" attributes. Here's my…
0
votes
2 answers

Parsley - Error message being used over Required Message when field is empty

I have added a custom validator to parsley which is working as expected but the only problem I have is that the data-parsley-error-message is being used over the data-parsley-required-message when the field has been left empty. How can this be…
John Cooling
  • 405
  • 4
  • 23