Email addresses should always have the same structure: An if condition is used to check that password is an empty string. The only major difference is that MonthNumber is a select menu instead of a text field and that the getMonth function is called when a different option is selected - that is, when the select menu changes. Note that we get the form from the event object e with e.