Sorry - I posted this twice
I have this code in my first form:
<input name="email1" type="hidden" id="email1"
value="yes">
And just before the email code, which is after the form code
is this:
<% If UploadFormRequest("email1")="yes" THEN %>
--- email code ----
This doesn't work!!!
:-(
"Andy" <andy@work.com> wrote in message
news:fr8gpa$npg$1@forums.macromedia.com...
> I'm using multipart/form-data and Pure ASP Upload on my
page.
> All is working well, the file is being uploaded, the
other form fields are
> being entered in to the database, BUT on the same page
(it submits to
> itself) i have code that sends out an email if someone
submits the form.
> I need to have some sort of trigger that sends the email
out, but i can't
> use <% Request.Form("whatever") %>
> How else can i trigger the email off?
> I have to have a trigger beca
>
>
> I'm using the Pure ASP Upload extension on a page that
hase three forms.
> Each form has a 'file field' and three other text
fields.
> On the same page I have some code that sends an email
out depending on
> which form is submitted.
>
> How can i trigger the email if im not getting any values
from the form due
> to the use of 'multipart/form-data'?
> I've tried using hidden fields in the forms, but again,
the values are not
> posted.
>
> Any ideas??
> Thanks
> Andy
>