HTML Forum
Posted
#3062
(In Topic #596)
<form action="/action_page.php">
<fieldset>
<legend>Arma 3 Malden Bases:</legend>
Territory Owners Name:<br>
<input type="text" name="Name" value=""><br>
Base Name:<br>
<input type="text" name="Base" value=""><br>
Base Location:<br>
<input type="text" name="Co-Ords" value=""><br><br>
<input type="submit" value="Submit">
</fieldset>
</form> <br />
<br />
the problem is, its showing but when you submit it, its not showing anything or gives you a 404 error<br />
i believe it has to do with "/action_page.php"> but dont know how to change it or get it changed if need to make a special page.
so could someone pleas tell me how to fix this or what im doing wrong.
Posted
Also you're missing method="post" on the form tag.
Posted
Posted
like this site:Arma_3_Bases so the complete codes are like so
Arma 3 Bases
it will make the page with the first picture
or maybe im doing all this wrong on how to set it up.
also this is confusing me /action_page.php as its pretty much saying where this should be but i dont have it
so what am i really doing wrong
Posted
However, on reading what you wrote it sounds like you don't actually have the action_page.php file the form is posting to. There is a lot between you and this working I'm afraid – even if you get a copy of this file (from whereever it is), the file is probably is making assumptions about database tables and many other things, all of which would need duplicating on your server.
Posted
Chris Graham said
If you post Comcode within a forum post here, it will treat it like Comcode as it would on your own site. You need to put it within Comcode code tags.
However, on reading what you wrote it sounds like you don't actually have the action_page.php file the form is posting to. There is a lot between you and this working I'm afraid – even if you get a copy of this file (from whereever it is), the file is probably is making assumptions about database tables and many other things, all of which would need duplicating on your server.
From “Post #3058”, 16th Jul 2017
i got it from
so its sounds like a really bad headache to do
Posted
If you change it to use action="/data/form_to_email.php" (and add method="post") it should e-mail you the contents. form_to_email.php is a default script we provide.
1 guest and 0 members have recently viewed this.
