Thanks for this. The form now shows data being entered into it, but then Firefox (32-bit Windows version 3.6.12) starts eating up an entire CPU core on my computer and never moves on from clicking the radio button in the script. I can tell that it is the interaction of this script with Firefox since if I break (^C) the script, Firefox immediately drops in CPU usage.