As you may know, Coffeemug is built upon the famous Joomla CMS. Our old contact page used Joomla default contact component, which is fine, but not very convenient for visitors, especially when it comes to validation.
At first we planned to rewrite the component. However, that seems to be a bit time-consuming, and later version upgrade of the site may cause troubles, so we decided to rewrite a PHP form only. And our journey starts, with... a google search for the suitable form engine.
We have seen a lot of Javascript framework like JQuery, Prototype, Mootools... but that's kinda a bit heavy for just a contact form. Finally we found some beautiful piece of simple Javascript for form validation. With couple of modifications, the form works like a charm. Even when Javascript is turned off, PHP server side coding will do the job.
We also feel like re-arranging the current contact page so the space will be utilized smarter. You may see the difference between the old and new pages.
Old contact page
New contact page
Now we are very happy with our contact page. What are you waiting for? Check it out, drop us some lines!
