In case you've missed it, you are looking at an older version of the website. Checkout our latest version, we promise you will love it 😍

callback_add_field example

function example_callback_add_field(){
    $crud = new grocery_CRUD();
    $output = $crud->render();
function add_field_callback_1()
    return '+30 <input type="text" maxlength="50" value="" name="phone" style="width:462px">';
function add_field_callback_2()
    return '<input type="text" maxlength="50" value="" name="state" style="width:400px"> ( for U.S. only )';
Note: The below example is an iframe so it might appeared with a scroll bar. If you like you can view the example on a new tab