Form actions now separate from code