Conditional

Added submit button and conditional statement to test functionality