Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to execute a "Submit" button?

New Here ,
Dec 28, 2012 Dec 28, 2012

Im not even sure im in the right forum, however I have a submit form button and form all designed and I have my server code, but how to I put the two together to make the button work??

My code doesnt seem right.  The button clicks, but the form doesnt go anywhere....It just looks cool.

So where I suppose do I put my code in DW to make my form work??

TOPICS
Server side applications
692
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 29, 2012 Dec 29, 2012
LATEST

The form tag should contain the action attribute that points to the location of the server side script file. For example, if your server side script is in a file formmail.php:

<form action="formmail.php" method="get">

What is it that you want to happen when the form is submitted? What does your script do?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines