moved postForm options into opts