Changing the call of QuoteForm to avoid the if and else