The poll layout is described as show_vote_control
It appears that the email input may have to go inside the POLL DEFINATION!
<div class="poll"><h3>Poll 3</h3><?php show_vote_control('1'); ?></div>
In config.php POLL DEFINATION is described in the following terms:
and this renders as img attached with the information relevent to the voter input being sent to the flat file.
$p = new Poll;
$VALID_POLLS["1"] = $p; // "1" is the poll ID
$p->legend = "Our First Poll"; // Form legend; leave empty for none
$p->returnToURL = "../booth.php"; // Specify the URL to return to for this poll.
$p->control_type = $CONTROL_RADIOBUTTONS; // Control type; $CONTROL_RADIOBUTTONS or $CONTROL_COMBOBOX
$p->question = "Do we need a Town Council?";
Using HTML to install as follows:
Include your EMAIL to Validate <input type="text" name="email" /> just before the </div> of the <div class="poll"> renders an email input field - how such input might find its way to the flat file along with the vote and the ip detail would resolve!
Not sure if this helps you to add further comment on task direction!