Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

multipart/form-data problem

LEGEND ,
Mar 12, 2008 Mar 12, 2008
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


TOPICS
Server side applications
241
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 12, 2008 Mar 12, 2008
LATEST
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
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines