Update AbstractForm.php

some changes