I have a problem. I would like to highlight a field (using ajax event on field codiceazienda_onchange) only if the new record. I tried with:
if(empty({codice})){ //{codice} is primary key
{cartelladocumenti}={codiceazienda};
}
I also tried it with:
if(sc_btn_new){
{cartelladocumenti}={codiceazienda};
}
I do not work.