Set up the input form.