How to display the result based on the answers on the form?