small code bits for form layouts, form posts, and form manipulation