Adding functions to prepend and append to a form body