Im new to EPESI, im stuck on how to hide fields
under my record set i have these fields and i made it as an addon
public function fields(){
$fields = array();
$inventory = new RBO_Field_Select('Inv Name','inventories',array('Inventory'));
$inventory->set_visible();
$fields[] = $inventory;
$qty = new RBO_Field_Integer('Quantity');
$qty->set_visible();
$fields[] = $qty;
$rqty = new RBO_Field_Integer('Req Quantity');
$rqty->set_visible();
$fields[] = $rqty;
and i have another recordset
$type = new RBO_Field_CommonData('Transaction Type','Inventory/Transactions/Type');
$type->set_visible();
$fields[] = $type;
where i can select "order" or "request"
if i selected "order" the field "req_quantity" should be hidden or
vice verse when i select "request" field name quantity should be hidden.
how do i hide those fields using jQuery? thanks please bare with because im new to EPESI thanks 🙂