snowdog Posted May 29, 2007 Share Posted May 29, 2007 I am setting up a horseshoe league and want to do the scoring with a laptop. I have a form that has the 4 players names and upto 15 rounds of shoes to be thrown. Every time they input a score in their resepctive column I want it to update the total score. I have never written java before and am pretty good at php. All my scoring/points systems work and it would just be nice of they dont have to add up the scores per round in their heads to see what the score is. Here is one of the 4 input sections. This one is for Player 1 - Team 1. All the other 3 are exactly the same wth just different text names. I also want it to do it as soon as the score is input for the round. Thanks for your help !!. <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s1" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s2" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s3" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s4" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s5" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s6" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s7" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s8" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s9" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s10" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s11" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s12" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s13" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s14" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="4%"><input type="text" name="p1t1s15" value="" size="2"></td> <td bgcolor="gray" align="center" valign="middle" width="10%"><input type="text" name="totalp1t1" value="" size="2"></td> Snowdog Link to comment https://forums.phpfreaks.com/topic/53444-adding-multiple-input-boxes-into-a-total-score/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.