I'm doing some homework for my university and I would like my homework to be accessed remotely as well.
I have already port formwarded and I can access my webpage but when I press submit from a Remote IP my webpage does not work correctly because there's a mistake in the form action code line and I do not know how to correct that.
Here's the HTML code
I want to correct the form action line in order for my webpage to work correctly from other clients as well
<!-- A form for selection a of a continent. Selection to be sent by POST -->
<HTML>
<HEAD>
<TITLE>Cookie will be written in our disc</TITLE>
</HEAD>
<BODY>
<FORM ACTION="http://localhost:8080/myExamplesDir/firstCookieDemo"
METHOD="POST">
<STRONG>Select the Continent of your Destination:<br> </STRONG>
<PRE>
<INPUT TYPE="radio" NAME="continent" VALUE="Europe">check here for Europe<BR>
<INPUT TYPE="radio" NAME="continent" VALUE="Asia">check here for Asia<BR>
<INPUT TYPE="radio" NAME="continent" VALUE="America" CHECKED>check here for America<BR>
<INPUT TYPE="radio" NAME="continent" VALUE="Africa">check here for Africa<BR>
</PRE>
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset"> </P>
</FORM>
</BODY>
</HTML>
Question
MariosX
Hello!
I'm doing some homework for my university and I would like my homework to be accessed remotely as well.
I have already port formwarded and I can access my webpage but when I press submit from a Remote IP my webpage does not work correctly because there's a mistake in the form action code line and I do not know how to correct that.
Here's the HTML code
I want to correct the form action line in order for my webpage to work correctly from other clients as well
Link to comment
https://www.neowin.net/forum/topic/1212937-need-some-help-with-form-action-in-html-code/Share on other sites
9 answers to this question
Recommended Posts