Is it possible to have a simple html form that returns the values in the same page as part of a larger string of text?
Here's an example:
That will create 2 boxes to enter first and last names and a submit button. Can I take that info and have a string of text below it thats something like
"First name is <first name> and the surname is <surname>"
Here's an example:
Code:
<form>
First name:
<input type="text" name="firstname" />
<br />
Last name:
<input type="text" name="lastname" />
<input type="submit" value="Submit" />
</form>
That will create 2 boxes to enter first and last names and a submit button. Can I take that info and have a string of text below it thats something like
"First name is <first name> and the surname is <surname>"