Function to submit form - Filament