0

Plzzz If I create a form with a submit button what additional codes do I need to add in it to actually submit the information

<input type="submit" value="submit">

6th Sep 2019, 2:30 AM
Ukighir Paul
Ukighir Paul - avatar
2 Answers
+ 3
those are really the only two important attributes for that tag, to specify WHERE to submit, you need to do that in the form tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit
6th Sep 2019, 4:14 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
As mentioned above. Recently did the same thing. <form id="myForm'" method = "POST" action = " jscript form.html" onSubmit= "return validateForm();"> In my jscript form.html was just a paragraph that says it works, but the appropriate file is meant to be a PHP extension.... Validate Form().... is a separate .js file just like your css. Which is a function to validate the form.. You can read up on all of this from W3schools.com/js/js_validation.asp ... hope it helps
6th Sep 2019, 6:27 AM
innaz
innaz - avatar