// See if they have submitted or just need the form
if(request.method == "POST"){
// Print the selected option to the user's page
write('You selected ' + request.sports);
}else{
// If this page was called and a form was not submitted, then write the
// form to the page for the user to use.
write('');
}