Oh, now I understand what you want to do. (I'm pretty tired right now, so if I don't explain this correctly, I'll do so after a good nights rest)
Some pointers to help you.
- You first will need to add the extra fields to the POLLS table. You can create a dbs file to add the fields. You can look at the dbs_poll_mod.asp file that came with the mod for some help.
[ALTER]
POLLS
ADD#ANSWER16#varchar(100)#NULL#
ADD#COUNT16#int#NULL#0
ADD#ANSWER17#varchar(100)#NULL#
ADD#COUNT17#int#NULL#0
[END]
That code will add 2 more fields. You can go up to 21.
- You will need to add the extra form fields to post.asp, along with adjusting the sql code to get the extra values. In post.asp, look for some poll mod code looking like this:for i = 1 to 15
strSql = strSql & strTablePrefix & "POLLS.ANSWER" & CStr(i) & ", "
strSql = strSql & strTablePrefix & "POLLS.COUNT" & CStr(i)
next
It is looping through the poll answers from the database. Set the number 15 to 21. So it will loop through the extra values. You will find a few loops with for i = 1 to 15. Adjust them accordingly.
- In post_info.asp, you will also find similar loops like in post.asp. Change the number 15 to 21 too.
There are probably some more places in the other files, but I'll check later for them for you.