I need to make this control before a record is added, it works good but I have a blank page after the condition is verified and I want to show add page again.
Also I'd like to show an error message on top of add page. Can you help me?
$com1=$values["commessa"]; $cod1=$values["codice"]; if (!empty($cod1) && empty($com1)) { exit(); } return true;