Exemplo n.º 1
0
/**
 * ajax function to update the form
 */
function updateForm()
{
    $adapter = new Adapter();
    try {
        $adapter->saveFields();
    } catch (\Exception $e) {
        die($e->getMessage());
    }
    //send back the success message
    echo "true";
    die;
}