Hi guys

We have a js function which tidies up user data entry PROPER(), UPPER() etc. at the end of an edit. It is called from one section but updates the data is all sections after edit on a single table.

In DEV that works well when we call it from the AfterEdit delegate but does not seem to do the same in web. We have tried other delegates but cannot seem to update the fields in web.

Which delegate would be best to call this in web?

Looking at just one field, we call :


var lname = proper(Lianja.getElementByID("pcust.scust.txtname" ).value);

Lianja.getElementByID("pcust.scust.txtname").text = lname;


if ( Lianja.isDevMode() )
{
Lianja.getCursor("cust").setData("name", lname);

}


Thanks in advance


Simon