Welcome to xCrud Community - Data Management and extended PHP CRUD
Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
in your controller VehicleRegisterController.php
class VehicleRegisterController extends Controller
{
public function index()
{
$xcrud = Xcrud_get_instance();
$xcrud->table("vehicles");
$xcrud->before_insert("insert_payments", 'function_page.php');
$render = $xcrud->render();
}
}
in xcrud...
//or you can use recaptcha as field_callback
$xcrud->field_callback('recaptcha_input','recaptha_function');
function recaptha_function($value, $field, $priimary_key, $list, $xcrud)
{
return '<div class = "form-group col-lg-6">
<div class="g-recaptcha"...
I will prefer to use select but try this
<?php
// if you want to use radio
$array_result = array('0'=> 'False','1'=>'True');
$xcrud->change_type('amount','radio','',$array_result);
//if you want to use select
$xcrud->change_type('amount','select','',$array_result);
?>
In the new version i already work to integrate it
this is supported field
print_only_type : bool, int, float, text, textarea, texteditor, date, datetime, timestamp, time, year, select, multiselect, password, hidden, file, image, point.
I'm not sure is limited I will work more more year and is fast and the best solution to make Crm or management website if you read good documentation you can make all you need in fast and secure