I want to create a form on page(pg1) and pass the information from the form to a second page(pg2) where the user can either submit or reject the displayed information. On the submit on the second page(pg2) I want it to email me and the user the information.
(on the second page and in the emails I only want to display the fields that were filled out)
----
Where "Phone" is not filled out
----
name: John Smith
email: john.smith@anywhere.somthing
----
Where "Phone" is filled out
----
name: John Smith
email: john.smith@anywhere.somthing
phone: ###-###-####
----
----
<form method="post" action="action" >
Name <input type="text" name="name" value size="35"><br>
Email <input type="text" name="email" value size="35"><br>
Phone <input type="text" name="phone" value size="35">(optional)<br>
<input type="submit" value="Submit Form"><input type="Reset" value="Reset Form">
</form>
----
There will obviously be more optional fields than just the one or it would be pointless to not to just display one blank field.
Thanks for your help.
(on the second page and in the emails I only want to display the fields that were filled out)
----
Where "Phone" is not filled out
----
name: John Smith
email: john.smith@anywhere.somthing
----
Where "Phone" is filled out
----
name: John Smith
email: john.smith@anywhere.somthing
phone: ###-###-####
----
----
<form method="post" action="action" >
Name <input type="text" name="name" value size="35"><br>
Email <input type="text" name="email" value size="35"><br>
Phone <input type="text" name="phone" value size="35">(optional)<br>
<input type="submit" value="Submit Form"><input type="Reset" value="Reset Form">
</form>
----
There will obviously be more optional fields than just the one or it would be pointless to not to just display one blank field.
Thanks for your help.