netteForms: alert() replaced with <span class="nette-form-error">#1126
netteForms: alert() replaced with <span class="nette-form-error">#1126
Conversation
|
👎 |
|
I like it. It should be as an alternative, that you can turn on by something like Nette.addError = Nette.showFormErrors;This is the intended behaviour, right? Oh, where went |
|
IMO the JS validation should be triggered after change / blur of any field in the form (not just when the user tries to submit the form) and display the errors in the same places as server-side validation - that is next to the inputs. I've already implemented it (using @hosiplan's twitter bootstrap renderer) and it is very convenient for the user. |
|
How about using |
|
@enumag now you can use default Nette.validateForm. |
|
Moved to nette/forms#9 |
No description provided.