Got getData to work. Edit data written but doesn't populate form fields