Parsley custom error message doesn't work

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" ...

Parsley.js - change error container

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 error msg is...

Parsley.js skip validation on submit?

When I try to submit a form, either via an input[type=submit] or by calling form.submit(), Parsley validates the form and cancels the submission if invalid. Is there any way I can skip that...

how to only allow text in parsely.js validation

I am using the nifty parsley js As you can see in the documentation there is only data-parsley-type="alphanum" which allows numbers and letters. I am trying to create fields that ONLY allow...

parsley.js remote validation response

I have a question regarding parsley.js v2.0.0 and the remote validation lib. I'd like to custom remote validate a field and I don't know how to properly show the error message that is returned...

how to disable validation for a field

In parsley2, is there no way to disable validation for a field? i.e. I have a <select>-control, which will always return a value and needs to further validation. Parsley's unneeded error-list,...

Understanding try and catch in node.js

I'm new to coding. Trying to understand why try...catch isn't supposed to work in node.js. I've created an example, but contrary to expectations, try...catch seems to be working. Where am I going...

Parsley.js destroy and revalidate fields already validated

I have implemented parsley on a complicated form that uses on-blur validation. I have run into an issue where i go through the form, the fields are validated one by one, then based on a dropdown...

How to validate decimal positions with Parsley or HTML5?

How can I validate an input to have an exact amount of decimals? For instance, if I want to validate a number to have 2 decimals then I want to validate as follow: 2.888 -> fails 2.8 -> fails 2...

How to have side by side form fields in boostrap

I'm trying to put together side by side label/input fields but I'm unable to achieve and here is my HTML code: <div class="col-sm-12 col-md-12"> <div class="block-flat"> <div...

Collectstatic error while deploying Django app to Heroku

I'm trying to deploy a Django app to Heroku, it starts to build, download and installs everything, but that's what I get when it comes to collecting static files $ python manage.py collectstatic...

How to make a Javascript event handler to execute first?

I have a page which uses jQuery & parsley plugin for form validation and submission. Below is the event handler for the form, $('#formid').parsley().on('form:submit', function(event) { ...

Regex in React email validation

I'm trying to set an error for when the email isn't correct. When I'm checking if the string is empty the form alerts with the proper message. But when I'm checking if the email matches the...

How do I stop appache.commons.logging from spamming System.out?

I am writing a clojure app that uses Amazon S3. It is using the standard amazonaws library, under this wrapper. For some reason, it is logging to System.out a ton of DEBUG info, including but not...

Laravel old() not working

{!! Form::open(array('route' => 'posts.store', 'data-parsley-validate' => '')) !!} {{ Form::label('title', 'Title:') }} {{ Form::text('title',old('title'), array('class' => 'form-control',...

Parsley js: How to validate input fields inside Modal popup and display error messages inside the modal itself

How to validate input fields inside a modal popup using ParsleyJS? I have already an error container in layout page which works for page level input fields. I want to validate input fields in a...

v-model is not updated in when using radio button in vue js?

I went through the documentation and I tried the following code. I can get the data for enquiryDesc but I'm always getting value 5 for rating. I also tried changing the radio group to a checkbox...

Laravel submitting form gets page expired

So i have a very basic controller located at : app/Http/Controllers/RentalRequestController namespace App\Http\Controllers; use Illuminate\Routing\Controller as BaseController; class...

change the default message error of parsley.js "This value seems to be invalid"

How can i change the custom message error of parsley.js "This value seems to be invalid" after the user inputs wrong data, im using data-parsley-pattern that only allows letter and not special...

How to install phpMailer in shared hosting environment?

How to install phpMailer in a shared hosting environment? Seen this https://stackoverflow.com/questions/40813626/how-to-install-phpmailer-in-a-shared-hosting-environment but I don't understand...

Using jq how can I split a very large JSON file into multiple files, each a specific quantity of objects?

I have a large JSON file with I'm guessing 4 million objects. Each top level has a few levels nested inside. I want to split that into multiple files of 10000 top level objects each (retaining...

Require at least one checkbox with Parsley

I need to force the user to check at least one checkbox with different names with parsley. With the same name it works : <label for="hobbies">Hobbies:</label> <p> Skiing <input...

How to add a emoji regex validation in JS?

I need to add emoji regex validation on my forms. I use parsley JS for regex matter, currently my input first-name has this regex: ^[^`~!+,[email protected]#$%^&*();\/|<>"0-9=\[\]\{\}\_☺]{1,255}$ And I found...

How can I fix the login issue which is not working after CSRF is enabed with Spring Boot and Spring Security?

I have a Spring Boot application. I am using Spring Security. When I tried to enable to CSRF, the login functionality failed. It was working before enabling spring security. Please find the...

$(...).datepicker is not a function in Rails 6

Can't understand why I cannot make any jQuery plugin functions (bootstrap, datepicker, etc.) work: $(...).datepicker() or $(...).modal() respond with ... is not a function in Rails 6 A few...

Change text color of Chosen plugin when it is disabled

When the chosen control (https://harvesthq.github.io/chosen/) is disabled, the text is grey in color. How to change it to black? My example: <select class="form-control chosen-select"...

How to chain selectors in order to get element inside with webdriverio

I have a page with list of products on it. This is how HTML DOM looks like for one product item: <div class="module card listing-search-card js-product-card " id="product-entry-123"...

Vue.js - How to show value in vue multi date picker when edit

I am using https://www.npmjs.com/package/vue-multi-date-picker in my vuejs code I want to know when I edit the form How to show selected dates in datepicker text. for example I am...

CSRF doesn't work on the first post attempt

This is my first time implementing CSRF and first time posting on Stack. I've struggled through the CSRF config, but finally got something that almost works. If I open a bookmarked page in a fresh...

How to prevent page reload after submit button clicked for bootstrap modal and parsley.js validation?

I have bootstrap modal which open up a modal to allow user to enter the form and it works. I implemented parseley.js for the form validaton and it kinda works. The problem is when the validation...