Prepare the form