Hi
I have a form which receives its data from another form (it is read only). So user don’t input anything into it, they just view it.
Some of the form elements (DDL’s) will have a number in and some will be blank.
How can I get the total sum value into a text box OnBodyLoad
This code “should” work but it produces some very strange results (it works fine if all the DDL’s have a value but fails if any are Null/Blank/Empty)
Can anyone tell me where I’m going wrong – or give me a better solution.
Thanks
In this example
2 DDL's have a value (from the previous form) and the other is empty
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
& ...
Go to the complete details ...