Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Sending A Form
 

Luckyguy3d




quote this post edit post

IP Loged report this post

Old Post  01-03-06 - 11:24 PM  
I Am Setting up a form for a theater that allows teachers to sign up for
workshops. I Need to have the form to go to an e-mail account for the ticket
manger to use. How do I configure the form to allow me to do this?



Post Follow-Up to this message ]
Re: Sending A Form
 

Kaosweaver




quote this post edit post

IP Loged report this post

Old Post  01-03-06 - 11:24 PM  
Luckyguy3d wrote:
> I Am Setting up a form for a theater that allows teachers to sign up for
> workshops. I Need to have the form to go to an e-mail account for the tick
et
> manger to use. How do I configure the form to allow me to do this?

You can use our extension to setup a simple form email:
http://www.kaosweaver.com/extensions/details.php?id=69




Attachment: kaosweaver.vcf
This has been downloaded 0 time(s).

Post Follow-Up to this message ]
Re: Sending a Form
 

Murray *ACE*




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
There are only two ways to process form data -

1.  Use mailto:name@domain.com as the action of the form
2.  Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page

Method 1 is quite simple, and is also the least reliable.  It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers, or home users without email clients
installed (more and more it seems) - and on the installed email client
responding to
the mailto call.  It is not possible to use this method *and* send the
visitor to a
thank you page as well.

Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).

You would have to decide which of these methods is best for your needs,
but if it's Method 2, then start by asking your host what they provide for
form
processing.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"forumnotifier" <webforumsuser@macromedia.com> wrote in message
news:du29n0$gr9$1@forums.macromedia.com...
>I have an .ASP page and everytime I click the submit button on my form it
>just stays there. How can you send a form in an asp page? Am I doing it
>wrong?




Post Follow-Up to this message ]
Re: Sending a Form
 

bregent




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
>How can you send a form in an asp page?
Send it where? To your script?

>Am I doing it wrong?
Probably. It's hard to tell if we can't see your page and/or your code.


Post Follow-Up to this message ]
Re: Sending a Form
 

TGuthrie




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
Alright sorry about not being to descriptive.

I have an ASP page that displays a list of computers that are recieved from 
my
database. Then I want to place some of those records in a form, no problem.
When I send the form to an E-Mail so I can see when somebody wants to purcha
se
a computer the page just reloads. Is that a better response?



Post Follow-Up to this message ]
Re: Sending a Form
 

bregent




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
Is the form handler script on the same page, or another page? You'll probabl
y need to post the code if you need more help.


Post Follow-Up to this message ]
Re: Sending a Form
 

TGuthrie




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
It's a very simple form, nothing beyond a basic form, its just when I put it
 in
a .asp page it never works. Here is the code...


<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include virtual="/Connections/retiredsystems.asp" -->
<%
var retiredsystems = Server.CreateObject("ADODB.Recordset");
retiredsystems.ActiveConnection = MM_retiredsystems_STRING;
retiredsystems.Source = "SELECT * FROM Assets";
retiredsystems.CursorType = 0;
retiredsystems.CursorLocation = 2;
retiredsystems.LockType = 1;
retiredsystems.Open();
var retiredsystems_numRows = 0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
<p><input name="SerialId" type="text"
value="<%=(retiredsystems.Fields.Item("SerialID").Value)%>" readonly="true" 
/>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Submit"
mailto:"tguthrie@demmercorp.com"/>
</label>
</p>
</form>
</body>
</html>
<%
retiredsystems.Close();
%>



Post Follow-Up to this message ]
Re: Sending a Form
 

Paul Whitham ACE




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
You don't have an action specified in the FORM which means that the form is
posting back to the same page, and you do not have any code of the page to
do anything other than call the select statement.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"TGuthrie" <webforumsuser@macromedia.com> wrote in message
news:du2b6u$irh$1@forums.macromedia.com...
> It's a very simple form, nothing beyond a basic form, its just when I put
> it in
> a .asp page it never works. Here is the code...
>
>
> <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> <!--#include virtual="/Connections/retiredsystems.asp" -->
> <%
> var retiredsystems = Server.CreateObject("ADODB.Recordset");
> retiredsystems.ActiveConnection = MM_retiredsystems_STRING;
> retiredsystems.Source = "SELECT * FROM Assets";
> retiredsystems.CursorType = 0;
> retiredsystems.CursorLocation = 2;
> retiredsystems.LockType = 1;
> retiredsystems.Open();
> var retiredsystems_numRows = 0;
> %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <title>Untitled Document</title>
> </head>
>
> <body>
> <form id="form1" name="form1" method="post" action="">
>   <p><input name="SerialId" type="text"
> value="<%=(retiredsystems.Fields.Item("SerialID").Value)%>"
> readonly="true" />
>   </p>
>   <p>
>     <label>
>     <input type="submit" name="Submit" value="Submit"
> mailto:"tguthrie@demmercorp.com"/>
>     </label>
>   </p>
> </form>
> </body>
> </html>
> <%
> retiredsystems.Close();
> %>
>




Post Follow-Up to this message ]
Re: Sending a Form
 

bregent




quote this post edit post

IP Loged report this post

Old Post  02-28-06 - 11:21 PM  
>It's a very simple form, nothing beyond a basic form,
>its just when I put it in a .asp page it never works.

There are two problem:

1) You are using mailto incorrectly
2) You are using mailto - never use this method to send for via email

You need to use an asp script that will process the form results and send th
em
to your mail handler. You should be able to find an asp form processor scrip
t
on the web easily.



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:06 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top