Table Fill FieldsNEW
1.7.30 Minimal theme
Auto fill data after input of zipcode
HIDE CODE
<?php
$xcrud = Xcrud::get_instance();
$xcrud->table("t_zipcopes");
// Callback for zipcode field
$xcrud->field_callback('zipcode', 'input_zipcode_with_autofill');
// Give city & state fields IDs so JS can target them
$xcrud->set_attr("city", ["id" => "city"]);
$xcrud->set_attr("state", ["id" => "state"]);
echo $xcrud->render();
?>