<?php $before = $obj->ui->form(); $obj->contactFirstName = "Name has changed ..."; $obj->val($obj); $after = $obj->ui->form(); ?>