A couple of fixes and required fields working in Joomla! 3

Fixes for Edition Custom layout, contact field not pulling from db and finally required fields working in Joomla! 3