Form Demo - replacing deprecated methods