-
how to define action in form
I have designed a form to contact me , now i want to get this information but i dont understand how to make action for this form means where to put any script file , how to get it done???
-
-
An "action" of a form is the thing it "does". It's just like the href of an <a> tag for a link: it's a url where the form goes. But unlike just a regular link, the form also sends the data to this page:
<form method="get OR post" action="wherethisgoes.url">
Then on that next page you'll use some serverside language to do stuff with the data, such as using PHP to send an email. Or you can point this to a third party website and they'll handle it for you (google "free form mailer"). You can also use action="mailto:your@email.com", but that will just open the user's email program with the data from the form: I highly recommend against this option.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks