c# - How to reset field in Acumatica WebDialogResult called by AskExt()? -
i using webdialogresult defined on smartpanel calling askext() used prompt password.
unfortunately, caches password that's entered, keeps pre-filling dialog , want blank every time dialog called.
i've tried variety of different things, such calling .askext(true), supposed refresh dialog , invoked .cleardialog() before calling .askext(), , numerous other things including .cache.clear(), .cache.clearquerycache(), .reset(), .update(new pwdfields()), .delete(.current) more direct .current.pwd = null , .current.pwd = "", nothing works.
that browser problem. in order solve propose find id of control of firefox or chrome developer toolbar, , use javascript clean values.
then can add jquery this:
$( document ).ready(function() { $("#ctl00_phg_pxspanelverify2_pxformviewverify2_custedpwd2").focus() { $("#ctl00_phg_pxspanelverify2_pxformviewverify2_custedpwd2").text(""); } });
Comments
Post a Comment