Twitter
Black Ice Development | finished on forms and some fields + video PDF Send Print
Thursday, 22 December 2011

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.

SerhioAvatar
Sergey Romanov STAFF
 
Votes: 3
Replies: 4
Hits: 751


Comments
den2009Avatar
Written by: den2009 VIP
On 22 December 2011

Way to go Sergey! - molotok, spasibo!

lorielcideAvatar
Written by: lorielcide VIP
On 23 December 2011

Cool outstanding features demo!

clowrideAvatar
Written by: clowride VIP
On 23 December 2011

Very good

kleephAvatar
Written by: kleeph VIP
On 08 February 2012

Sergey, those features are freaking awesome!:)

Login to leave a comment

 
What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 2119 guests and 2 members online


MightyTemplate - Professional Joomla Templates