returned info/forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

when a client fills out and submits a form,the info is sent perfect only is there a way that only allows what theve selected to be sent.theres alot of items to select through drop down boxes only the other selections are sent als
exampl
toys:toys -no selection made but sen
colors:red -selecte
size:size -no selection made but sent
 
James,
That is the right answer - sorry. If you need this functionality you would
need to look at some kind of server side scripting - what you're wanting is
very easy to do but we'd need to know what kind of script your host supports
asp/php etc.

Jon
Microsoft MVP - FP
 
Ok, easy then - do something like this
<%
if request.form <> "" then
for i = 1 to request.form.count
if request.form.item(i) <> "" then
strBody = strBody & request.form.key(i) & " = " & request.form.item(i) &
vbcrlf
end if
set oMail=server.createobject("cdonts.newmail")
oMail.send "(e-mail address removed)", "(e-mail address removed)", "Form Submitted", strBody
set oMail=nothing
response.write "thanks for your form"
else
%>
....your form
<%end if %>

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top