define actions for the main form submission options.