on 11-19-2008 2:59 AM
hi gurus.
i have a layout (on web) where the user has to enter 5 percentages values for diferrent 5 accounts in 0quantity key figure, but the thing is that this 5 values must acumulate a total of 100%, how can i validate this?
regards
Your requirement would have been standard in BPS , but in IP(Web), you will have to write a small fox formula which adds these 5 accounts. You should link this function to the save button and this function should be executed before the save command so that you can check and give appropriate messages before saving.
Hope this helps.
Cheers
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
are you working with IP? If so one comparatively easy possibility is to create a fox coding which sums up the entered values and validates if the sum is equal to 100%. After this validation you can work with messages depending on a successful or unsuccessful check you can display either information- or warning- or error messages.
Brgds,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
why don't you let the user enter 4 values and compute the 5th value in a planning function. This way you can be shure to have 100%.
Hope this helps.
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.