var form= getFormWarpRequest();
var attached = form._oLstChoicesLoanOps.onClick= on_click;
if (!attached || attached == undefined) alert("onClick event was not attached.");
\\send other prompt values to DB proc
The issue is that onclick works perfectly fine for ALL, B, C, D, E but not for A as clicking A gives me data for ALL.
this is being tested in 8.4 version and the autosubmit property of this prompt has been set to yes.
Please help me as am stuck over this issue for lot many days now with no help on Internet
This topic has been locked.
1 reply Latest Post - 2013-01-21T11:44:53Z by SystemAdmin
Pinned topic Onclick Event Not Working in Value Prompt As Listbox
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-21T11:44:53Z at 2013-01-21T11:44:53Z by SystemAdmin
SystemAdmin 110000D4XK15496 PostsACCEPTED ANSWER
Re: Onclick Event Not Working in Value Prompt As Listbox2013-01-21T11:44:53Z in response to SystemAdminIts not necessary to set the autosubmit property to yes as you are going to refresh the prompt on click.
Just try to have a alert box of the value selected which will give you a message box with the selected value. May be even after selecting A, it is sending All to the database.