Skip to content
Snippets Groups Projects
editAddress.xhtml 745 B
<form action="/testform/save" method="post">
    <input type="hidden" name="id" value="<?php echo $this->record->getPrimaryKey(); ?>" />
    First Name:<br />
    <input type="text" name="firstName" value="<?php echo $this->record->firstName; ?>" /><br />
    Last Name:<br />
    <input type="text" name="lastName" value="<?php echo $this->record->lastName; ?>" /><br />
    Phone:<br />
    <input type="text" name="phone" value="<?php echo $this->record->phone; ?>" /><br />
    Address:<br />
    <input type="text" name="address" value="<?php echo $this->record->address; ?>" /><br />
    Zip Code:<br />
    <input type="text" name="zip" value="<?php echo $this->record->zip; ?>" /><br />
    <input type="submit" value="Update" />
</form>