on 05-27-2011 8:05 AM
Dear All,
I am new to WDA.I have a requirement to calculate priciple amount based on the user requested amount.Here requested amount is input field and principle amount is defined as text view.
Now let's say user entered requested amount as 12000,dynamically priciple amount has to be generated by calculating requiredamount/120(number of months).Pls help!
Thanks,
Reddy.
Hi,
Just entering value in Inputfield would not trigger any event. So the user must press the enter button. You do your caluclation on the OnEnter event handler method and set the result to the attribute binded to the Textview.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks ,I am able to do it before watching u r answer.I searched in forum and I was able to it.
Now i have one more question.Now I want to retrict the user not to enter any amount beyong eligible amount.Eligible amount is the field which I am getting from database table and displaying in a text view and the eligible amount is different for different users.I know this validation also has to be handled in ONENTER event.But I am not sure how to show the alert?
I have to code in ONENTER event handler like
if lv_requiredamount>lv_eligibleamount
what need to be done to show some alert are popup.
Please help.
Thanks,
Reddy.
Thanks ,I am able to do it before watching u r answer.I searched in forum and I was able to it.
Now i have one more question.Now I want to retrict the user not to enter any amount beyong eligible amount.Eligible amount is the field which I am getting from database table and displaying in a text view and the eligible amount is different for different users.I know this validation also has to be handled in ONENTER event.But I am not sure how to show the alert?
I have to code in ONENTER event handler like
if lv_requiredamount>lv_eligibleamount
what need to be done to show some alert are popup.
Please help.
Thanks,
Reddy.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.