Today we finished system to validate form on the server and with JavaScript. Even if we will work on it, we will change it a little. The core system is done. Here are some features.
Show all form errors on server validation.
Core Joomla form submission system, returns FALSE on first error possible. So you always see only one error. This is not convenient. Say you made error in 2 field, then you submitted, after reload you got error message, submitted again and got next message. That is not good unless you want to check how strong patients is of your site visitors. So we validate all fields, collect all errors and then show them all. For that we had to write our own classes and refuse use Joomla core mechanism. But that is as usual. We always need more flex than Joomla usually can offer.
That is not all
If server side validation return error, fields are highlighted with color to show where exactly to look to fix them. And those highlights are HTML5/CSS3 animated beautifully fading in and out.
Of course you get the same highlights too if it is error on local JavaScript validation.
And we finished some fields.
Those are
- Select
- Multiple Select
- Checkbox
- Radiobutton
- Text
- Textarea
- HTML
- Digits
- Records as mentioned in previous post.
Textarea is a piece of art. It now understands markdown, BBcode, strong HTML filtering with black and white lists for tags and attributes. It can grow as you enter more text, show simple BB code menu as in old field. I like it. I simple delighted using it.
Here is the short video. I suggest to expand this video full screen because I did not add zoom.


Profile of Sergey Romanov
Add a Friend
Send Message

+1 (209) 800 1209