how to add my own codes to a form