Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Get My form data to show on screen (will eventually email it)

$
0
0

I have created a simple form which uses Bootstrap.css  I take input from the User using this:

<divclass="control-group">
<labelfor="contact">Name of Contact: </label> 
<divclass="controls">
<inputtype="text"id="contact"name="contact">
</div>
</div>

This provides me with the contact name and then I output that to the screen using this:

Response.Write(Request.Form["contact"]);

What I would like to do is put the label in front of the input so that I would see 'LABEL - INPUT' on the screen.  Can someone tell me how I get the label on the ouputscreen?


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>