Extending form functionality