Questions tagged as 'parsley'

1
answer

Validation of select without form

I have a view where I have dynamically generated selects and a link. I need to make sure the selects are selected when clicking the <a id="add-cart" href="{{ route('site.add.cart', $product) }}" class="btn btn-danger mt-5">Adicionar ao...
asked by 17.01.2018 / 18:20
1
answer

Parsley: customize error message

I'm using the Parsley plugin for form validation and I'm creating some additional validation methods, however, I'm having difficulty personalizing the messages of these functions. According to the site documentation, we can add a custom met...
asked by 08.11.2016 / 20:26
1
answer

Parsley.js is not valid when using data-parsley-min

I have a password field type="password" that I use parsley like this: <input type="password" name="senha_usu" id="pass2" class="form-control" required data-parsley-min="6" placeholder="Senha" /> But it is not validating right,...
asked by 22.05.2017 / 17:05
1
answer

Block the double click of the button with parsley

I use the parsley.js library and I want to disable double-clicking to prevent double-entry in the database, but it conflicts because parsley already blocks automatically when it fails. I want that when there are no errors indicated in parsley.js...
asked by 16.05.2017 / 17:14