Adobe Dreamweaver Forums



Last 10 THreads :         Update Panel (Last Post : AlmostHome - Replies : 0 - Views : 1 )           »          ANN: Contact Form Solution Pack (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          advice please (Last Post : anthonypjsmith - Replies : 0 - Views : 1 )           »          Unable to initialize Shared Memory (Last Post : Moin Ansari - Replies : 6 - Views : 9 )           »          FMS Logs & Reporting (Last Post : The_Dude69 - Replies : 1 - Views : 4 )           »          Change text color on page load (Last Post : awsweb - Replies : 2 - Views : 3 )           »          how to remove key from an array? (Last Post : (_seb_) - Replies : 0 - Views : 1 )           »          Re: A New Joke Website (Last Post : nightwolf666 - Replies : 0 - Views : 1 )           »          Screens get distorted (Last Post : slessard - Replies : 3 - Views : 4 )           »          This Tough Economy and Flex/AIR (Last Post : Greg Lafrance - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Application Development
 
Tags: ,



Reply
  #1 (permalink)  
Old 04-13-2008, 02:51 AM
Andy
 
Posts: n/a
Diggs:
Default multipart/form-data problem

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




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 02:51 AM
Andy
 
Posts: n/a
Diggs:
Default Re: multipart/form-data problem

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
>



Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk