Click here to Skip to main content
15,914,419 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
How to create query posting form in html website.query post on email by the help of javascript or jquery.

XML
<form id="form1" class="forms" action="MAILTO:abc@gmail.com" method="post" enctype="text/plain">
            <fieldset>
              <ol>
                <li class="form-row text-input-row">
                  <label>Name*</label>
                  <input type="text" name="name" value="" class="text-input required" title="" />
                </li>
                <li class="form-row text-input-row">
                  <label>Mobile*</label>
                  <input type="text" name="Mobile" value="" class="text-input required" title="" />
                </li>
                <!--<li class="form-row text-input-row">
                  <label>Email*</label>
                  <input type="text" name="email" value="" class="text-input required email" title="" />
                </li>-->
                <li class="form-row text-area-row">
                  <textarea name="message" style="height:50px" class="text-area required"></textarea>
                </li>
                <li class="form-row hidden-row">
                  <input type="hidden" name="hidden" value="" />
                </li>
                <li class="button-row">

          <input id="Submit1" type="submit" value="submit" class="btn-submit" />
                <!-- <input type="submit" value="send" name="submit" class="btn-submit" />-->
                </li>
              </ol>
              <input type="hidden" name="v_error" id="v-error" value="Required" />
              <input type="hidden" name="v_email" id="v-email" value="Enter a valid email" />
            </fieldset>
          </form>



Note:-> when user fill the form and click on submit button then the filled data in textbox posted on email id.
Posted
Updated 28-Nov-13 0:00am
v4
Comments
Sergey Alexandrovich Kryukov 27-Nov-13 15:18pm    
Not clear at all. A form can post itself, nothing else is needed. And you can post something using jQuery (or any other way of using Ajax), which does not require having a form. You need to explain properly what you want to achieve and what is the problem. Posting any data either way is not a problem at all, but you need to understand each one separately. This is called "separation of concerns"...
—SA
prakash00060 28-Nov-13 5:16am    
i want to query posting form on website which is on html but framework is .net.
May u help me?
prakash00060 28-Nov-13 5:59am    
when user fill the form and click on submit button then the filled data in textbox posted on email id.
Sergey Alexandrovich Kryukov 28-Nov-13 10:45am    
What does it mean "to query posting form"? Do you understand it yourself?
—SA
Sergey Alexandrovich Kryukov 28-Nov-13 10:45am    
What does it mean "to query posting form"? Do you understand it yourself?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900