My very first form

For my very first form I want to create one where a visitor
can submit an email address. I've been on the net learning as much
as I can but I'd like to verify I'm understanding what I'm reading.
I want to verify for a valid email address. It looks like
there are a number of scripts that will do that. I'm studying the
scripts that are available to see if I can understand them. Then I
want the form sent via email. I've read that the new browsers don't
support mailto so I went to my host (GoDaddy) and they seem to have
a couple handlers. The cgi email handler I assume is the one I
want. All they ask for is an email address set up on the account.
How does the form get sent to the email handler?
And can someone help me understand what this example is
doing? Found it while doing research.
function emailinput_on()
if(document.getElementById("email-addr").value=="Your email
address")
document.getElementById("email-addr").value = "";
function emailinput_off()
if(document.getElementById("email-addr").value=="")
document.getElementById("email-addr").value = "Your email
address";
function validate_email()
var alertbg = "#345f91";
var okbg = "#ffffff";
var email_regex =
/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/;
if(!email_regex.test(document.getElementById("email-addr").value))
document.getElementById("email-addr").style.background =
alertbg;
document.getElementById("email-addr").focus();
return false;
else
document.getElementById("email-addr").style.background =
okbg;
return true;
It goes with this form:
<form id="email-signup" action="email-thankyou.htm"
method="post" onSubmit="return validate_email()">
<p>
<input id="email-addr" name="email-addr" value="Your
email address" onFocus="emailinput_on()"
onBlur="emailinput_off()">
<input id="sbmt-image" name="sbmt-image" type="image"
src="images/go_light_bg.gif" alt="Go">
</p>
</form>
Tom

There are only two ways to process form data -
1. Use mailto:[email protected] 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
==================
"TCarp" <[email protected]> wrote in message
news:[email protected]...
> For my very first form I want to create one where a
visitor can submit an
> email
> address. I've been on the net learning as much as I can
but I'd like to
> verify
> I'm understanding what I'm reading.
>
> I want to verify for a valid email address. It looks
like there are a
> number
> of scripts that will do that. I'm studying the scripts
that are available
> to
> see if I can understand them. Then I want the form sent
via email. I've
> read
> that the new browsers don't support mailto so I went to
my host (GoDaddy)
> and
> they seem to have a couple handlers. The cgi email
handler I assume is
> the one
> I want. All they ask for is an email address set up on
the account.
>
> How does the form get sent to the email handler?
>
> Tom
>

Similar Messages

  • Error on server - printing stopped - Very First request to print any report

    vs2010 sp2
    CR13 sp1
    CR12 developed reports requested in app with no mods
    I'm getting there but I can't get the very first print request honored regardless of
    size to print on the very first request but will print when re-requested.
    A very large detailed report (+300 pages) errors as well.  The running time is
    over 1 hour from rendering to print.  The printing starts to spool but errors.
    I've caching, sessions to keep the large report alive.
    I have also increased timeout on the server.
    Thanks,
    Isaac

    Is is a website/web app
    I found the following which makes sense in relation to initial prints etc.
    Can you or someone tell me where to make this change in II6
    which we are using on the sql server 2000 box (initially I was was told it was 2003)
    ActiveX printing fails in the .NET web form viewer when IIS GZip Compression is in use. As a result, the following error message appears:
    "A Communication Error Occurred. Printing will be stopped".
    Cause
    This is a known issue with Crystal Reports .NET. This issue has been assigned Track ID ADAPT00459349. At time of writing, there are no file updates to resolve this issue.
    Resolution
    To work around this issue, do one of the two suggestions offered below:
    Disable compression for the following mime types:
    application/x-eor (end of report)
    application/x-ack (acknowledgement of printing finishing)
    application/x-epf (encapsulated page format)
    -OR-
    Use HTTPZip instead of GZip for compression.
    Thanks,
    Isaac

  • How to to get Struts Action at very first loading

    Hi, All;
    I was working on Jsp with Struts framework, I do not know how to get the Struts action to run during the very first loading if it is no submit buttons.
    When first load of page, I'd like to retrieve data from Action class (or other class) with request, then drop it to request attributes or create a bean.
    Because, normally Action class will be invoked in submit on page form which predefined in config files, but my page should get data from class with request at very first loading (without button submit), so can anyone know the way to do this kind of things? Is there other thing need to do in strust-config.xml. I really appreciate your ideas or examples.

    Sure. In the url just call that Action's path (e.g /app/myAction.do) which will first fill the data and then send to the desired JSP.
    Click Here
    When the user clicks on the link the Action would be automatically called. And you can do whatever you need in the Action.

  • I own the very first ipod and can no longer be updated or synced any suggestions to get it back up and running, has just decided to stop 2015

    I own the very first ipod and can no longer be updated or synced any suggestions to get it back up and running, has just decided to stop 2015

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    It could be that the battery has died

  • What is the easiest way to create and manage very big forms?

    I need to create a form that will contain few hundred questions. Could you please give me some advise on what is the easiest way to do that? I mean for example is it easier to create everything in Word (since it is easier to manage) and than create a form based on that?
    My concern is that when I will have a very big form, containing different kinds of questions and with many scripts, managing it during work will be slow and difficult, for example adding a question in the middle of the form which would require moving half of the questions down which could smash the layout etc.
    What is the best practise for that?
    Thanks in advance

    Try using Table and Rows for this kind of forms. These forms will have the same look throught with a question and and answer section..
    In the future if you want to add a new section, you can simply add rows in between..
    Thanks
    Srini

  • Hey guys I need to delete photos from the very first  IPad sold on the market, how I do it, when I bring the photos to be view I don't get the little garbage can to trash them. Help please!

    Hey guys! How you delete photos from the very first IPad when you don't get the little garbage can on the screen.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    iPhoto for iOS (iPad): Delete photos from iPhoto
    http://support.apple.com/kb/ph3137
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
    The Fastest Way to Remove All the Photos from the iPad Camera Roll
    http://ipadinsight.com/ipad-tips-tricks/the-fastest-way-to-remove-all-the-photos -from-the-ipad-camera-roll/
    Delete Pictures from Your iPad
    http://www.dummies.com/how-to/content/delete-pictures-from-your-ipad.html
     Cheers, Tom

  • Do I need a computer to use my ipad for the very first time?

    I would like to know if I buy an iPad, shall I need to have a computer to start it for the very first time?
    I mean do I need to do plug in or can I start without  plug in?

    The new iPad does not need to be activated using iTunes. You will need a WiFi connection to activate it, but not a computer.
    If you are buying an iPad2, if it does not already have iOS 5 on it, then you would need a computer running the latest version of iTunes,

  • HT201250 which external hard drive should I choose/use as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Which external hard drive should I use/choose as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Any of these SATA HDDs that are at least the same size as your internal HDD (preferably larger capacity).  In addition you will need an enclosure, preferably one with a Firewire as well as a USB connection.
    http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Ciao.

  • Can't restore latest Time Machine backup after drive replacement- only the very first.

    My 13" Macbook Pro running 10.8.5 had a bad hard drive which had to be replaced. After the new drive was put in I tried to restore everything to the new drive with Time Machine but could only restore the first backup I ever did after getting the computer, which was over a year ago.  I can drag and drop files but I would rather have all my preferences and bookmarks etc.  How do I restore the latest backup which was only about a week ago?  Thank you.

    Not yet; I'm not sure if Migration Assistant is quite right. Since I posted the question I ran across this youtube video
    http://www.youtube.com/watch?v=KYUem-QfYBs
    which suggests that I need to start up from a bootable external disc in order to restore a Time Machine backup to the same computer that the backup came from when the drive is replaced.  The video actually seems to describe my issue exactly.  The only confusing thing is I don't know why I would have been able to restore the very first Time Machine backup if I need to boot from an external disc.  More investigation needed.

  • Need information on the very first certification exam - PL/SQL

    Hi all,
    I am about to enter the OCA track.
    Need to appear for the very first exam.
    Please let me know somethings like -
    1. begineer's book, and pdf with any one, please pass it
    to [email protected]
    2. what is the name of the certification guide ?
    3. Whts the exam code ?
    any other information is welcome
    Thanks in advance.

    This is my understanding
    to become a OCA - dev track one needs to pass
    1Z0-001 or 007 and 147.
    but the 001 has expired
    so the 1Z007 + 1Z0-147 = OCA ( dev track )
    and after that if i give 141, i will be OCP - dev track
    is it ok ?
    thanks

  • My Media Browser in Garageband doesn't display anything except the very first song I have in this mac.

    I have been always wanting to edit some songs and make a remix of it. However, the media browser in garageband in my macbook pro doesn't display any songs, except the very first song I added to my laptop. I have tried to do every suggestion from other forums (e.g. check the itunes library, etc) and none worked. One thing I realised is that I can still drag and drop the song directly from Finder to my Garageband timeline. Nevertheless, it annoys me whenever I open the media browser since this is not what my mac should do. I would be very grateful if someone could assist me with this matter.

    Have you checked, if the search field at the bottom of the Media Browser is cleared? It should be set to "All", if you click the looking glass. Otherwise the list will be filtered.
    And the drop-down menu should show "iTunes", if you want to see all songs.
    If these simple measures do not help, try the fix for "oddball" problems and remove the User Preferences - see the FAQ:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    Regards
    Léonie

  • Hyperion System 9.3.1 reports taking longer time for the very first time

    We are on Hyperion System 9.3.1. The Financial reports are taking longer time (like 2 to 3 minuter) for the very first time for each login. The subsequest reports are does work faster.
    The behaviour is same for the Production and Development environments.
    All the reporting services have given enough JVM heap size.
    FYI, Reporting and Workspace runngin on the same server. Workspace/Reporting are clusted in two servers. HFM app is running on different server. HFM web is on different server. Shared Services is also on running on different server.
    Any help would be greately appreciated.
    Thanks.

    The reason they run quicker the subsequent times, is because the data has already been cached in the system.
    You could try the usual tricks to speed the report up:
    - move items into POV
    - have children and parent in the same row
    - arrange dimensions in inverse outline order
    - remove excessive formatting
    - push report calculations back to the data source
    We have found that using lots of dynamically calculated members also slows down reports, so try and limit the number of these.
    Hope this helps. If not maybe give us an idea of how the report is created to see if other changes could be made.

  • IPhone 5 "places" map in photos app only showing very first photo taken.

    I got my iPhone 5 three days ago and have taken 20 something or so photos on the camera.  Location services is enabled for the camera and photos, yet the only photo showing up on the "places" map of the photo app is the very first photo I took, right after buying the phone.  I have no clue why none of the other photos are showing up in the places map & would appreciate any help making them all show up on the map. 

    mcytron [and Dhalberg]...
    Thank you, for posting this problem and the resolution.
    I have just returned from a two month 14,500km Kimberly's and Red Centre trip, and found to my absolute disappointment that all of my iPhone 5 photos had a horrid blueish tinge.
    a) by chance, I found when fiddling with iPhoto Edit that on the photos with this tinge, that the Revert to Original button was highlighted.
    Click on that button, and the photo colour profile was magically restored.
    b) OK, but how do I proceed now; select every photo, and select Edit, Revert to Original for every one?  I have 600 plus photos to fix.
    I began looking for a method of doing a Batch Change, which I have used in the past to adjust the time [and date] of photos imported from my wife Olympus SZ-14, and bingo, found the Photos, Revert to Original button in the top menu bar drop down.
    It worked a treat. I was able to select all the effected photos [in fact did a Ctlr a on the entire collection], and all 600 plus were restore in a few minutes, withthe click of one button.
    Phew...

  • The Very FIrst iPod Classic - Having Issues

    So, my brother's iPod keeled over and I told him I'd see what I can do. It's one of the very first iPod classics. They don't even sell these anymore. It's a 20GB metal design from 2004. I figure it's just fried, but I still wanna try. I don't think it died until recently, which is a shame. Even charging for a whole 48 hours, it wont turn on. I've tried resetting it numerous times.
    Anyone wanna try and help? Any advice is appreciated.
    NOTE: I do realise this is probably pointless since it's so old. I don't expect to fix it. It'd just be cool if I did.

    It sounds like a third gen iPod. Does it have four buttons in a horizontal row with a circular wheel below? All of these buttons and the wheel touch sensitive? If so, it's a third gen. If it has a clickwheel and it's 2004, it's a fourth gen.
    Sounds like the battery's gone. Just replace it yourself. It's like $30 with a DIY kit.

  • Using diskpart as the very first step in TS

    Hi, 
    I want to have a very first in TS as hard drive clean and partitioning it. so once WinPE is downloaded, system reboots, it will check 'IsLaptop' or 'IsDesktop' condition and if its Laptop, it should clean the disk 0 and parition it. I have tried to achieve
    this but i am getting an error. Its a MDT based TS in Configuration manager 2012 R2 (MDT 2013 is integrated). Laptops are encrypted and just need to be wiped and reload without databackup. I feel this is the easiest way to have dispart clean the disk, recreate
    partition based on condition if its laptop. 
    Steps i am doing is :
    1. diskpart. exe /s diskpart.txt - first step in TS, and has condition to run only if 'IsLaptop equals True'. I have created package for diskpart.txt ( i am wondering if this could be an issue, if it tries to download the package on hdd and hdd doesn't have
    partition yet)
    2. set imageosver to 6.1 - since its for windows 7
    3. Format and partition disk 6.1 - will format and create 2 partitions 'OS disk' and 'BDE'
    then other steps starts like Use toolkit package, gather and UDI wizard. 

    You could have the Format/Partition steps run only if the Chassis/Model type = that of a laptop or one of your laptop models.  If those parameters aren't met (e.g. PC is not one of the desktop models or doesn't have a the laptop ChassisTypes), the partition/format
    steps wont' run.
    I've ran into issues when trying to run commandline steps that require files to copy down first.  I have the best luck when the drive(s) are properly cleaned, repartitioned, and formatted first. 
     

Maybe you are looking for

  • Lead Selection takes a long time

    Hi Experts,     I have an ALV table in my component that has a lot of fields i,e 82. When ever i try to do a lead selection on the alv the system takes a lot of time to do the action even though there is no code that was written to run on that action

  • Processing Nikon Scan 4.0 NEF files in PSE 7 Raw Editor

    I own a Nikon Coolscan 5000 ED. The scan software Nikon Scan 4.0 can produce "raw" files with NEF extension. On the web I found some remarks concerning this file type stating that the scanner NEF is not really a raw file. A scanned pixel has already

  • To retrieve the mapping expression of a particular column of an Interface

    How to retrieve the mapping expression corresponding to a particular column(say BATCH_ID) in the target table of the interface in IKM...? Using getColList() method all the mappings in the interface are retrieved. Is there a way to get the mapping for

  • SQL 2012 Best Practice Analyzer issue with nothing available in pulldown on Microsoft Baseline Configuration Analyzer V2.0

    We have tried using both a Windows 7 and a Windows 8 machine and still cannot see any items available in the pulldown (ie. no sql 2012 or anything)  Is this a known issue and BPA does not work for SQL 2012?  Any suggestions?  I've seen several posts

  • Blackberry bold 9780

    I am having a problem with my phone while using Wi-Fi. It shows connected and even whatsapp is working but I am unable to browse anything and whenever I try to browse it gives me an error unable to find requested server.