Dear code masters,
thank you for all previous support it made me rock stand in coding. However, i have a current challenge where we enter data's into the following textboxes "Age (<1) Age (1-4)" like that till it get to Age (50>), we do this for Male and Female.
The data's we enter should also display on the textboxes under the red background label only if these textboxes are empty but if they are not empty and greater than or equal to zero then, the textboxes above will sum up to their equiverlent textboxes bellow the red background that is what we want.
but the opposit is the case see the picture attached.
i have javascript at the top of the ASPX pages as shown bellow :
we then have these functions linked to each textboxes like bellow :
- <td>
- <asp:TextBox ID="TextBox651" runat="server" Width="52px" onKeyUp="sumUpHTC3A()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox652" runat="server" Width="52px" onKeyUp="sumUpHTC3B()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox653" runat="server" Width="52px" onKeyUp="sumUpHTC3C()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox654" runat="server" Width="52px" onKeyUp="sumUpHTC3D()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox655" runat="server" Width="52px" onKeyUp="sumUpHTC3E()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox656" runat="server" Width="52px" onKeyUp="sumUpHTC3F()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox657" runat="server" Width="52px" onKeyUp="sumUpHTC3G()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox658" runat="server" AutoPostBack="False" Width="52px" onKeyUp="sumUpHTC3H()">asp:TextBox>
- <td>
- <asp:TextBox ID="TextBox660" runat="server" Width="52px" onKeyUp="sumUpHTC3I()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox661" runat="server" Width="52px" onKeyUp="sumUpHTC3J()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox662" runat="server" Width="52px" onKeyUp="sumUpHTC3K()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox663" runat="server" Width="52px" onKeyUp="sumUpHTC3L()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox664" runat="server" Width="52px" onKeyUp="sumUpHTC3M()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox665" runat="server" Width="52px" onKeyUp="sumUpHTC3N()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox666" runat="server" Width="52px" onKeyUp="sumUpHTC3O()">asp:TextBox>
- td>
- <td>
- <asp:TextBox ID="TextBox667" runat="server" AutoPostBack="False" Width="52px" onKeyUp="sumUpHTC3P()" >asp:TextBox>


Abraham OlatubosunPosted Feb 23, 2017, 2:27 PM
Nitin SontakkePosted Feb 23, 2017, 5:22 AM
Abraham OlatubosunPosted Feb 23, 2017, 4:38 AM
Nitin SontakkePosted Feb 23, 2017, 12:20 AM
Nitin SontakkePosted Feb 22, 2017, 11:18 PM
Abraham OlatubosunPosted Feb 22, 2017, 11:06 PM
Nitin SontakkePosted Feb 22, 2017, 10:45 PM
Nitin SontakkePosted Feb 22, 2017, 10:43 PM