newPost works with input boxes