reg form formatting