Speedhelp
02-06-2005, 02:26 AM
Heres what i got
<TD><INPUT type=hidden value=17 name=poll_id> <INPUT class=submit type=submit value=Vote name=submit>
(its a pull if that has something to do with it)
How could i make it a link back to home.html to?
bejayel
02-06-2005, 02:54 AM
<input type="button" value="vote" onclick="document.open('page.html')" class="submit">
i am guessing you have a CSS class set up for this, which is why i included the class="submit". also, i am not positive that document.open actually opens. i know window.open is for making new windows, but i forget what keeps it in the same window.
Speedhelp
02-06-2005, 03:14 AM
Heres what i have (Yours didnt work)
<TABLE cellSpacing=0 cellPadding=3 border=0>
<TBODY>
<TR>
<TD><b>Is this site good?</b></TD>
</TR>
<TR>
<TD><br><INPUT type=radio value=1 name=poll_option>
Yes<BR> <INPUT type=radio value=2 name=poll_option>
No<BR> <INPUT type=radio value=2 name=poll_option>
Needs a little work<BR> <INPUT type=radio value=3 name=poll_option>
It stinks
</TD>
</TR>
<TR>
<TD><INPUT type=hidden value=17 name=poll_id> <INPUT onclick="file.open('home.html' )" class=submit type=submit value=Vote name=submit>
</TD>
</TR>
<TR>
<TD> </TD>
</TR>
</TBODY>
</TABLE></TD></TR></FORM></TBODY></TABLE><BR>
Speedhelp
02-06-2005, 03:22 AM
Made a mistake, The
<TD><INPUT type=hidden value=17 name=poll_id> <INPUT onclick="file.open('home.html' )" class=submit type=submit value=Vote name=submit>
is
<TD><INPUT type=hidden value=17 name=poll_id> <INPUT onclick="document.open('home.html' )" class=submit type=submit value=Vote name=submit>
Still doesnt work can you fix?
MaGiCSuN
02-06-2005, 01:50 PM
where is your form coding?
i see a closing </FORM> tag, but no beginning :S
it would help loads to see the proper full coding, since i have this feeling you are copying just a part of your page, with codes from other tables in it etc.
also do you want the results to be emailed to you or to be posted on a page or what? mostly the thing you want is called a "thank you" page, but i'm not sure what you want to do eventually with the whole form after all.
Love,
Mirna