PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage returned info/forms

Reply

returned info/forms

 
Thread Tools Rate Thread
Old 08-03-2004, 03:11 PM   #1
=?Utf-8?B?amFtZXM=?=
Guest
 
Posts: n/a
Default returned info/forms


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
  Reply With Quote
Old 08-03-2004, 03:18 PM   #2
Tom Pepper Willett
Guest
 
Posts: n/a
Default Re: returned info/forms

No. That's how the FP forms to email functions.
--
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/fro...fo/default.mspx
http://msdn.microsoft.com/frontpage
-----
"james" <anonymous@discussions.microsoft.com> wrote in message
news5A5D28C-24DB-4511-B743-79A8112153FD@microsoft.com...
> 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 also
> example
> toys:toys -no selection made but sent
> colors:red -selected
> size:size -no selection made but sent



  Reply With Quote
Old 08-03-2004, 06:14 PM   #3
Jon
Guest
 
Posts: n/a
Default Re: returned info/forms

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

james wrote:
> Thank You/Question Answered



  Reply With Quote
Old 08-03-2004, 06:46 PM   #4
=?Utf-8?B?amFtZXM=?=
Guest
 
Posts: n/a
Default Re: returned info/forms

  Reply With Quote
Old 08-03-2004, 07:03 PM   #5
Jon
Guest
 
Posts: n/a
Default Re: returned info/forms

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 "website@you.com", "you@you.com", "Form Submitted", strBody
set oMail=nothing
response.write "thanks for your form"
else
%>
....your form
<%end if %>

Jon


james wrote:
> Asp host http://www.net1media.com/hosting.html



  Reply With Quote
Old 08-03-2004, 07:31 PM   #6
=?Utf-8?B?SmFtZXM=?=
Guest
 
Posts: n/a
Default Re: returned info/forms

where do i paste this/under the head?
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off