<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I need a page with a few input fields. I want to sum the numbers from the fields into a total field. Easy enough to add the fields to a Text page by putting the following into the "Page Text" field.<div><br></div><div><div>Add up Carbs:</div><div><input onblur="findTotal()" type="text" name="qty" id="qty2"/><br></div><div><input onblur="findTotal()" type="text" name="qty" id="qty2"/><br></div><div><span style="font-size: 12pt;"><br><br></span></div><div>Total : <input type="text" name="total" id="total"/></div></div><div><br></div><div>To define the FindTotal() routine, I need to add a <script> section.</div><div><br></div><div><div><script type="text/javascript"></div><div><span style="font-size: 12pt;"> function findTotal(){</span></div><div><span style="font-size: 12pt;"> // some JS code here</span></div><div><span style="font-size: 12pt;"> }</span></div><div></script></div></div><div><br></div><div>As soon as I add the script section, the fields will no longer show up when I press Play. I'm not sure what I'm doing wrong. </div><div><br></div><div>Any advice would be much appreciated.</div><div><br></div><div>Have a great day,<br>Kent</div> </div></body>
</html>