Update default.php

Added Joomla core form validation functionality