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

Add role to alert message that is generated by data-parsley-required-message

I am trying to add a role to the required message generated from data-parsley-required-message, but do not have an idea how to do that. This element is auto-generated when validating the required field with data-parsley:
0
votes
1 answer

parsley trigger an error for an empty field

How can I trigger an error message without submitting the form, for when I click on an input field and without typing something, if I click out of the input field it will trigger a validation error saying this field must not be empty. I tried using…
JP Douglas
  • 45
  • 1
  • 12
0
votes
1 answer

Why does injection fail when I dont provide an 'id' in the following flex/parsley code?

MXML snippet -
Darth Ninja
  • 1,049
  • 2
  • 11
  • 34
0
votes
2 answers

Data-parsley-pattern Regex Failing After Upgrade to 2.8

We have a small portal application for our customers which allows them to specify a directory they wish to have backed up. While we have robust checks to block bad behaviour on the back end, we'd like to prevent them from typing ".." as part of the…
Razyr
  • 11
  • 3
0
votes
2 answers

Making multiple asynchronous calls to fetch result from multiple services in the single click of a button in flex?

In one of our project we are using flex for front end, blazeds/java in the backend. Its an existing code where services are prewritten. I have to make calls to 3 services in the backend (basically 3 remote objects) and get their result and store the…
Rajat
  • 1,095
  • 1
  • 13
  • 20
0
votes
1 answer

Laravel form validation doesn't recognize text input the first time, but it does the second time

Whenever I go to submit the form, the bio textarea returns the form validation saying, "This is required," when it already has text typed into it already. When I press the submit button a second time(without changing anything), then it works. {!!…
hjcoder18
  • 449
  • 1
  • 5
  • 13
0
votes
0 answers

How to create mapping of 2nd level child node in Spicelib/Parsley for Flex

I have an XML structure that looks like this:

I would…
kamcknig
  • 883
  • 3
  • 9
  • 27
0
votes
1 answer

ParsleyJS custom validator not working

I am using the latest version of ParsleyJS and tried the example from doc, just copy pasted it into my code but it wont work. I actually made my own validator but its not working, so I tried to copy paste the exact example but it doesn't work as…
Waleed
  • 1,097
  • 18
  • 45
0
votes
1 answer

parsley.js conditional form validation

I am using MVC with Angular JS and for validation using parsley.js(ver 2.6.2) when i check checkbox1 then 2 textbox(txtCustomer,txtchk1 & txtchk2) should be required when submit form when click on checkbox2 then textbox (txtCustomer & txtchk3)…
ishan joshi
  • 270
  • 3
  • 13
0
votes
1 answer

How do I compile latest Parsley framework for Flex from SVN

How do I compile from the Parsley framework repository to a Flex Library, so that i can use it with the latest 4.5 Flex framework? Step by step. Totally appreciated.
Doz
  • 7,009
  • 12
  • 61
  • 69
0
votes
2 answers

How do you use Parsley framework in Flex Hero 4.5

I was wondering if Parsley framework is compatible for Flex Hero Mobile 4.5? I seem to get a warning saying it's not compatible. Thanks guys
Doz
  • 7,009
  • 12
  • 61
  • 69
0
votes
0 answers

Parsley data-parsley-trigger-after-failure NOT WORKING

After fist form validation, parsley lists all the not valid fields. It ,then, fires validation process on keyup of each failed field. For a better user Xperience, it would be better to change this behaviour and set it to form submit or even focusOut…
ProXamer
  • 377
  • 1
  • 9
  • 25
0
votes
1 answer

Parsley validate comma-separated email addresses

What I am doing is want to validate comma-separated email addresses using Parsley. I have worked out custom validator and triggered email fields, but I got a error for custom validator function. window.Parsley. addValidator( 'emails', {…
viscroad
  • 203
  • 2
  • 9
0
votes
0 answers

In IE using Parsely validation on focus I'm getting two icons

I'm using parsley validation. When I open focus on input field, it shows two icons one is parsley validation but other only display in IE. Anybody can help me?
0
votes
1 answer

Laravel 5.3 and Parsley remote validation

i tryed to remote validate the email and username for a registration form with parsley. I get allways the message: public/checkUserName?username=tester 405 (Method Not Allowed) So here is my code: Input:
theface
  • 141
  • 14