Update ui.php

adding easy ability to create custom form using same function name