louis_chypher has done a wonderful work and everyhting is working very very well.
I've a suggestion for you...
Instead of putting a text field where the user input the number, will be possible to have a popup menu with only the available values?
I run a bikers club and when the people subscribe to the event, they could be just one or two people per bike so I would like to have a popup menu with the values of 1 or 2 so nobody can input numbers like 1.5 or -12 or 500...
I suppose, but maybe I'm wrong that this is the code that draw the input box
Code:
<input type="text" name="partycount" onkeyup="doAttendCount();">
So I think that if I put this code instead of the one above
Code:
<select name="partycount" size="1">
<option>Number of people</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
A popup menu will appear. The problem is where to put
onkeyup="doAttendCount();" ?