- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Niall, here is my script after your
suggestions:
form1.#subform[0].Total::calculate - (JavaScript, client)
if
(AssesE.rawValue == null || AssesE.rawValue == "6")
{
Total.rawValue
=(AssesA.rawValue+AssesB.rawValue+AssesC.rawValue+AssesD.rawValue)/4;
}
else
{
Total.rawValue
=(AssesA.rawValue+AssesB.rawValue+AssesC.rawValue+AssesD.rawValue+AssesE.rawValue)/5;
}
Still does not work....
For example if I select items A(Export value 5 each) for all DDL (5+5+5+5+5)/5 gives me 11.111!
The correct culculation is (5+5+5+5+5)/5=5
Thank again
Views
Replies
0 Likes
Total Likes