|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
form for submitting name/e-mail --- for newsletter
Hello!
I'm trying to make a sign-up form for my newsletter, where the visitors can type their name, e-mail adress, and then click submit. I tried to make one in HTML, but when I clicked submit, it opened my Outlook. I'd like it to be "no hassle" for the user. That is, it should just send the info when they click submit. Is this possible in HTML? If it is, how do I do it? Thanks for your help! |
|
#2
|
||||
|
||||
|
RE: form for submitting name/e-mail --- for newsletter
I assume you just put <form action='mailto:email@domain.com'>. That's a common mistake and it often opens an email program like Outlook. I suggest you change the action to 'sendmail.php' and then create a sendmail.php script which sends the email to you or even automatically adds the user to newsletter receiver list.
|
|
#3
|
|||
|
|||
|
RE: form for submitting name/e-mail --- for newsletter
Yes, that's what I did.
I'm really not a guru at PHP, and it seems nothing I've ever done in PHP has worked (I think it has something to do with the settings...) :rolleyes: I was thinking about making this a pop-under window. I know how to make a pop-under window, but I don't know how to make the code in PHP, or even where to put up my PHP-code on my web server... By the way... you from Finland? |
|
#4
|
||||
|
||||
|
RE: form for submitting name/e-mail --- for newsletter
Joo, kyllä olen. Enkä näköjään ainoa
Laitapas vähän koodia tänne, niin katsotaan voisinko auttaa. Toivottavasti et ole ruotsinkielinen, että ymmärrät tämän... (Others guess what that means.) |
|
#5
|
|||
|
|||
|
RE: form for submitting name/e-mail --- for newsletter
No niin... Kyllä mä ymmärrän vähän suomea, mutta olen ruotsenkielinen
Mä on asunut 2½ vuotta kaliforniassa, siksi mun suomi ei on niin hyvää... Ok, I'm really not that good at finnish |
|
#6
|
||||
|
||||
|
RE: form for submitting name/e-mail --- for newsletter
Men din finsk är bra tycker jag. Suomi sujuu sulla paremmin kuin joillain suomalaisilla ;)
But let's keep this forum English, ok? So please post some more information on your problem. |
|
#7
|
|||
|
|||
|
RE: form for submitting name/e-mail --- for newsletter
Ok, till engelskan...
I want to make a pop-under window that shows a form which allows the visitor to enter their e-mail adress and name --- By clicking submit I'd either recieve an e-mail (preferrably), or it would write the info to a text-file. Also, I'm not sure where to put it up on my web host. I'll be going to the beach now.. Too nice weather to sit in! |
|
#8
|
|||||
|
|||||
|
RE: form for submitting name/e-mail --- for newsletter
I usually don't write code for anyone but this time...
Your pop-under window should have the following code: php Code:
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > form for submitting name/e-mail --- for newsletter |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|