Re: Form - Only need checked box info -
12-07-2005
, 11:57 AM
Give all the checkboxes the same name; make the value of the checkbox the
name of the song.
Request and write the checkbox one time, and you'll have a list. Ex:
Songs Requested:
<%=Request.Form("Songs")%>
becomes
Songs Requested:
Name of Song 1, Name of Song 2, Name of Song 3
If you want each song on a new line, it's still easy.
For text e-mail
<%=Replace(Request.Form("Songs"),", ", vbCrLf)%>
For HTML e-mail
<%=Replace(Request.Form("Songs"),", ","<br>")%> |