FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Placing a form in a web page using dreamweaver..?





leo87
I would like to add a form similar to this..http://www.indianpanorama.in/form.html

Pls help me with the codings and where do i need to place this in my domain directory...?Hope u all ll sort out my prob's.
hyhy
It's the source. I think you should work it out:

Code:
<form method="post" action="http://www.indianpanorama.in/cgi-bin/FormMail.pl" >
    <input type="hidden" name="recipient" value="3" />

<input type="hidden" name="subject" value="InPan Site Online Enquiry" />
<input type="hidden" name="redirect" value="http://www.indianpanorama.in/thankyou.html" />
<table width="100%" border="0" cellspacing="5" cellpadding="0" class="ipbody12pt">
      <tr>
        <td class="ipbody12pt" width="22%">
          <div align="right" class="ipbody"><b>Your name</b></div>
        </td>
        <td width="28%">
          <input type="text" name="Name" class="ipbody">
        </td>
        <td width="24%">
          <div align="right" class="ipbody"><b>Your email address</b></div>

        </td>
        <td width="26%">
          <input type="text" name="email" class="ipbody">
        </td>
      </tr>
      <tr>
        <td class="ipbody12pt" width="22%">
          <div align="right" class="ipbody">City</div>
        </td>

        <td width="28%">
          <input type="text" name="City" class="ipbody">
        </td>
        <td width="24%">
          <div align="right" class="ipbody"><b>Country</b></div>
        </td>
        <td width="26%">
          <input type="text" name="Country" class="ipbody">
        </td>

      </tr>
      <tr>
        <td class="ipbody12pt" width="22%">
          <div align="right" class="ipbody">Phone with country/area code</div>
        </td>
        <td width="28%">
          <input type="text" name="Phone number" class="ipbody">
        </td>
        <td width="24%">
          <div align="right" class="ipbody">Month &amp; year of travel</div>

        </td>
        <td width="26%">
          <input type="text" name="Travelling when?" class="ipbody">
        </td>
      </tr>
      <tr>
        <td class="ipbody12pt" width="22%">
          <div align="right" class="ipbody">Number of persons</div>
        </td>

        <td width="28%">
          <input type="text" name="Number of persons" class="ipbody">
        </td>
        <td width="24%" class="ipbody">
          <div align="right">Duration of visit</div>
        </td>
        <td width="26%">
          <input type="text" name="Duration of visit" class="ipbody">
        </td>

      </tr>
      <tr>
        <td width="22%">
          <div align="right" class="ipbody">Standard of hotels</div>
        </td>
        <td width="28%">
          <input type="text" name="Standard of hotels" class="ipbody">
        </td>
        <td width="24%" class="ipbody">
          <div align="right">Budget per day (approx)</div>

        </td>
        <td width="26%">
          <input type="text" name="Daily budget" class="ipbody">
        </td>
      </tr>
      <tr>
        <td width="22%">&nbsp;</td>
        <td width="28%">&nbsp; </td>
        <td width="24%">&nbsp;</td>

        <td width="26%">&nbsp; </td>
      </tr>
      <tr>
        <td width="22%" class="ipbody" valign="top">
          <p align="left"><b>Your interests<br>
            </b> Please indicate your areas of interest by ticking as many boxes
            as you wish.</p>
        </td>
        <td width="28%" valign="top" class="ipbody">
          <p>
            <input type="checkbox" name="Houseboats" value="Yes">

            Houseboat cruises<br>
            <input type="checkbox" name="Wildlife" value="Yes">
            Wildlife &amp; nature<br>
            <input type="checkbox" name="Trekking" value="Yes">
            Trekking<br>
            <input type="checkbox" name="Art &amp; culture" value="Yes">

            Art &amp; culture<br>
            <input type="checkbox" name="Architecture &amp; History" value="Yes">
            Architecture & History<br>
            <input type="checkbox" name="Beaches" value="Yes">
            Beaches<br>
            <input type="checkbox" name="Ayurveda" value="Yes">

            Ayurveda<br>
            <input type="checkbox" name="Music &amp; dance" value="Yes">
            Music &amp; dance<br>
            <input type="checkbox" name="Cuisine" value="Yes">
            Cuisine<br>
            <input type="checkbox" name="Homestays" value="Yes">

            Homestays<br>
            <input type="checkbox" name="Markets" value="Yes">
            Markets &amp; bazaars<br>
            <input type="checkbox" name="Camel treks" value="Yes">
            Camel trekking<br>
            <input type="checkbox" name="Villages" value="Yes">

            Village visits<br>
            <input type="checkbox" name="Spirituality" value="Yes">
            Spirituality<br>
            <input type="checkbox" name="Yoga" value="Yes">
            Yoga and meditation</p>
          <p> Other interests:<br>

            <input type="text" name="Other interests" size="30" value="Other interests ..." class="ipbody">
          </p>
          <p>&nbsp; </p>
        </td>
        <td width="24%" valign="top">
          <p class="ipbody" align="left"><b>Your Indian travel dreams</b><br>
            Describe (if you wish) your dream holiday in India. Tell us what you
            hope to see, do and experience.</p>
        </td>

        <td width="26%" valign="top">
          <textarea name="Indian Travel Dreams" cols="25" rows="25" class="ipbody">Travel dreams ...</textarea>
        </td>
      </tr>
      <tr>
        <td width="22%" class="ipbody" valign="top">
          <div align="right"></div>
        </td>
        <td colspan="2" valign="top">
          <div align="left" class="ipbody"> </div>

          <div align="left"> <span class="ipbody"><b> </b></span></div>
        </td>
        <td width="26%" valign="bottom"><span class="ipbody"><b> </b> </span>
        </td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="5" cellpadding="0">

      <tr>
        <td width="35%">
          <div align="right"><span class="ipbody"><b>Click to send </b></span>
            <b><span class="ipbody">
            <input type="submit" name="Submit" value="Submit" onClick="MM_validateForm('name','','R');MM_validateForm('email','','RisEmail');MM_validateForm('country','','R');return document.MM_returnValue">
            </span></b> </div>
        </td>
        <td width="5%">&nbsp;</td>
        <td width="60%"><span class="ipbody"> <b>

          <input type="reset" name="Reset" value="Reset">
          Clear the form and start again </b></span></td>
      </tr>
    </table>
    <p>&nbsp;</p>
  </form>
rooparam
ya , he is right . use source code to develop ur page and make it workable
leo87
i don't have anything like cg-bin,form.pl in my account...what should i do..
Related topics
Beautiful personal web page!
web page maker
web page maker
Anyone know how to make an email form?
How do i password protect a web page using html
Making a page with dreamweaver that requires a password
Making a password protect page in dreamweaver
Displaying .txt file on web page
www.sanghala.com - Sipra's web page
How to make photo gallery within a page in Dreamweaver?
How to create template with DreamWeaver?
FLIR - Use Any Font on your web Page
Exe to web page
Fractals: Using them in a web page. I just finished.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.