Joe's txt input and form code

adding what I have already done