Refine submit form