Skip to main content
Solved

onblur event in acumatica


yanuaralfianus37
Jr Varsity II

anyone know how to use onblur event in acumatica ? or anything idea can develop like function onblur event  ?

Best answer by Brian Stevens

You can add custom javascript to your page, but this isn’t terribly common as those activities would be processed on the browser side.

Most events in Acumatica are handled at the server rather than the browser.  The Acumatica way of defining an “on blur” type event is achieved in via 2 steps.  Set the field to Commit Changes = true on the screen definintion (aspx) to enable a postback when focus leaves the field (i.e., onblur).  You then perform your logic in the FieldVerifying, FieldUpdating, or FieldUpdated events in C#.  Alternatively, you might perform your logic on the row level events.

I’d suggest digging into the Developer training material on openuni.acumatica.com.  The Acumatica help also contains details about Event Handlers.

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+4

You can add custom javascript to your page, but this isn’t terribly common as those activities would be processed on the browser side.

Most events in Acumatica are handled at the server rather than the browser.  The Acumatica way of defining an “on blur” type event is achieved in via 2 steps.  Set the field to Commit Changes = true on the screen definintion (aspx) to enable a postback when focus leaves the field (i.e., onblur).  You then perform your logic in the FieldVerifying, FieldUpdating, or FieldUpdated events in C#.  Alternatively, you might perform your logic on the row level events.

I’d suggest digging into the Developer training material on openuni.acumatica.com.  The Acumatica help also contains details about Event Handlers.


yanuaralfianus37
Jr Varsity II

Hi @brianstevens thanks for replay! oke i will try it, thanks for your suggest


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings