replace form elements and modified pfbc classes