Add form function and textfield