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.
Questions tagged [parsley]
144 questions
0
votes
2 answers
parsleyjs custom validator with computed message
I have a set of predefined rules which is loaded with a rest call from an external resource.
rules.yaml
rules:
firstname:
rule: value.length <= params.max
message: Bitte geben Sie nicht mehr als {{params.max}} Zeichen ein
params:
…

Guido Zockoll
- 141
- 3
- 11
0
votes
2 answers
ParsleyJS and interpolation of Angular2
I have a problem with Parsley JS and interpolation of Angular2:
I need to pass an interpolation as value of the data-parsley-error-container.
Example:

crissty
- 1
- 1
0
votes
1 answer
How do you use Parsley with GraniteDS in Flex?
I want to use the Parsley framework and I want to use GraniteDS for remoting. As of 2.1, GraniteDS generates AS3 service classes from your Java code as local proxies, and I want to use these classes in Parsley.
I can successfully inject the service…

Fletch
- 4,829
- 2
- 41
- 55
0
votes
1 answer
How to set Parsley.js global config
Most of the docs I found is not helping me as it seems to be outdated or I am doing something wrong.
$.fn.parsley.defaults = {} // not working
window.parsley.defaults = {} // not working
window.ParsleyConfig = {} // not working
Basically what I am…

Syed
- 15,657
- 13
- 120
- 154
0
votes
1 answer
Parsley.UI.addError doesn't get messages disabled
I am using Parsley to validate some forms and the server is doing same validations in his side. When a constraint fail on the server, i call this function do add the error on parsley:
var invalidField = $('[name="' + param.target +…

Neo87
- 63
- 1
- 11
0
votes
1 answer
Parsley and Laravel username check
I'm using Laravel 5.1 and parsley.js, what i want todo:
Display error with parsley if username already exist.
My laravel controller code to check response:
public function checkUsername($username)
{
$user =…

Tommy
- 23
- 4
0
votes
2 answers
Flex / Parsley - Internal class quirk with compile mode
This is a puzzler.
Relevant Environment: Flex app, running parsley, which gets built by ant.
Problem class:
package com.foo.bar {
public class ProblemClass {
// constructor
public ProblemClass(enforcer:Enforcer) {}
…

Marty Pitt
- 28,822
- 36
- 122
- 195
0
votes
1 answer
How to add custom error message in Parsleyjs config file?
I would like to add a custom error message to my Parsley Config file but don't know how to.
I wonder if it's possible to do something like as per below? :

sandrasvensson
- 33
- 4
0
votes
1 answer
Parsley add pattern constraint?
How can I bind validation using the pattern attribute on an input to an existing bound parsley validator?
Let's say I have a form, which is already initialized, and the user actions something which will push in a diving license field to the form,…

Shannon Hochkins
- 11,763
- 15
- 62
- 95
0
votes
1 answer
Parsley Validation not waiting for Remote Validation AsyncValidate to finish
I have a form and I'm trying to do parsley remote validation on one of the fields, however, on form validation, the form submits before it waits for a response from the remote function (via asyncValidate()). Thus, even when the field is invalid,…

Faybian
- 373
- 2
- 7
- 15
0
votes
1 answer
How do I FlexUnit Test Parsley commands?
I needed some guidance on how to use FlexUnit 4 within Flash Builder, to unit test a Parsley-frameworked Flex application.
I have tried lookign at one or two sites but with no avail.
Thanks

Doz
- 7,009
- 12
- 61
- 69
0
votes
1 answer
How to add required validation for file field ( input type="file" ) using parsley js?
While doing validation of form fields, I can validating all fields using required attibutes parsley.js. Except the file field. I couldn't able to validate file upload field. When i check the code using developer tool (inspect element) in Firefox…

Sathish Chelladurai
- 670
- 1
- 8
- 23
0
votes
1 answer
error when installing python parsley
I'm trying to install parsley, a parser written in python, but I'm stuck at the first hurdle. I can't even install it.
I'm on windows 7, using cygwin.
And this version of python:
$ python3 -V
Python 3.4.2
$ pip install Parsley
Downloading/unpacking…

dsg
- 1
- 1
0
votes
1 answer
How to add data-valid='parsley' as a form attribute in django crispy form for client-side validation?
I am a beginner in django crispy form, i want to make my form tag as
I want to know how to pass data_validate = 'parsley' in to the html page having the crispy form tag from the form.py?
0
votes
2 answers
Trying to add a required attribute to a select box when checkbox is ticked - JQuery
I'm having a little trouble adding a 'required' attribute to a select box when a checkbox is checked.
Here's my code so far.
$('.turn_on').change(function(){
$('.form_field select').attr('required');
});
If anyone could help, that would be…

finners
- 875
- 16
- 31