Set Hyperlinks in Form List/Menu?

I'm new to adding form items to my sites and I'm wondering if
it's possible to set each item in a drop down menu to hyperlink to
another site. I'm sure it is, but I'm missing where you place the
link. I thought perhaps it went in the value field, but realize now
it doesn't. Or is there another method I should use to create a
link menu?

This is helpful - thank you for the reply.  However, this is all code and looks pretty complex to me.
It's not hard.  Just work through the tuts  and learn  to not be afraid of code view. 
Sure wish there was a solution in design mode (with just a little code checking).
"Dream a little Dream" 
http://www.youtube.com/watch?v=vZPmZ64m3_4
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com

Similar Messages

  • How do I make my form (list/menu) items open in the same window (self).

    Hello, the kind, brilliant people on this forum have always been able to help me in the past, so I thought I'd give it a try today. Items in a form (list/menu) that I've created are opening in a blank window (pop-up) when clicked. I would like them to open in "self" mode so that pop up blockers on various computers don't become a challenge for site visitors. Can anyone please tell me how I could make that adjustment? I selected the entire form "red dotted line" around the list and changed the "target" in the properties menu to "self". Then I selected everything on the page and still not correct. I am inserting the code below. Any assistance to get me on the right track would be GREATLY appreciated!! BTW I also made the form a library item (just in case that fact is needed). Also if you need to see the actual link it is http://www.graphicmechanic.com/DEKALBCOUNTY/index.html. The "I WANT TO" list is the part I'm referring to.
    CODE BELOW:
    <form action="" method="post" name="form1" target="_self" class="style26" id="form1">
                       <a href="#" target="_self"><span class="style26">
                       <label FOR="iwantto">I WANT TO:</label>
                       <br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        <select name="iwantto" id="iwantto" class="style55" onchange="MM_jumpMenu('window.open()',this,0)">
                          <option value="http://web.co.dekalb.ga.us/voter/#">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
                       </span>
                       </a>
    </form>

    Looks like it still isn't working. When I removed those items the drop down menu stopped working as well. I went ahead and posted yours as the correct answer. I'm convinced it's my skill level. i'm gonna do some javascript searches to see where the js code should go, it's very confusing to me. Here is that code in case anything sticks out to you or anyone else.
    <link href="../cssfiles/lbistyles.css" rel="stylesheet" type="text/css"/>
    <form action="" method="" name="form1" class="style26" id="form1">
                     <span class="style26">
                       <label FOR="iwantto">I WANT TO:</label>
                       <br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        <select name="iwantto" id="iwantto" class="style55">
                        <option value="#" onClick="MM_goToURL('self','http://web.co.dekalb.ga.us/voter');return document.MM_returnValue">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
                       </span>
                       </a>
    </form>

  • Dynamic Form list/menu

    I'm trying to insert a dynamicly generated form list/menu dropdown item.
    Everything works but the list always shows me the last record from the database as the first item in the list (ASC or DESC).
    I want to put a dummy label as the first item in the list like: Select from list
    How can i do this, because even if i put a static value in the value list items, it still shows the last item from the recordset first instead of the static value.
    Does anybody have an idea how i can create a dynamic pulldown list in my form with the first item listed to be a statich dummy tekst or label like "Select from list etc"
    Thanks,

    I created a normal recordset with Dreamweaver getting tea
    m_id and team_names out of the database. Then i list the teamnames in a form list/
    menu (dropdown) to show all the available teams. Again it shows me the last record from the
    recordset as the first list item and i want a standard "select this" text or something default.
    The form code below is generated by dreamweaver itself. I already tried to also put one static value in the value list property but i get the same result. To me it looks like the while loop is overriding whatever you put as static text.
    <form id="form1" name="form1" method="post" action="">
      <label for="list_teams">Teams:</label>
      <select name="list_teams" id="list_teams">
        <?php
    do { 
    ?>
        <option value="<?php echo $row_Teams['team_id']?>"<?php if (!(strcmp($row_Teams['team_id'], $row_Teams['team_id']))) {echo "selected=\"selected\"";} ?>><?php echo $row_Teams['team_name']?></option>
        <?php
    } while ($row_Teams = mysql_fetch_assoc($Teams));
      $rows = mysql_num_rows($Teams);
      if($rows > 0) {
          mysql_data_seek($Teams, 0);
       $row_Teams = mysql_fetch_assoc($Teams);
    ?>
      </select>
    </form>

  • My form pages menu/list pull down items aren't legible in Firefox

    I'm using the form item - menu/list - set to menu.  It looks great in safari, but in firefox the list of items are scrunched together and not legible.  How can this be avoided or styled?

    Please when asking for help provide a link so that people can see the result and the code.  Otherwise it is just a big guessing game.
    Gary

  • Ensure List/Menu populate my update form with the correct data before update

    Hello,
    Please how do I ensure my update form is populated with the correct data before update?
    On my update page I have text fields and select fields (dynamic list/menu). When I open my profile page to make updates, I see the field well positioned in the text fields but in the select list/menu fields, I see "Select from list" instead of the value that was initiated selected
    Correct Values before update
    Wrong values during update
    As you can see from the images below, when I open the update page, the list automatically populate the select fields with the last values in the list instead of the Initial values that where selected by the user before the update.
    Can anyone please review and let me know where I have gone wrong.
    Thank you
    Mike

    Hello All,
    Once more thank you. I have sorted the issue out.
    I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
    I was selecting this - This is the record set of the table that hold values for the city select list
    Instead of this. This is the record set of the table behind the form I am working on
    My issue is now re-solved.
    Mike

  • How do I pass a username form variable from a drop down list/menu to another page?

    Hi,
    I have a login_success.php page that has a drop down list/menu (which lists usernames). I want the user to click on their user name, and when they click the submit button the username information to be passed over to the username.php page which will contain a recordset, sorted by username.
    How do I pass the username info from the drop down list/menu to the username.php page?
    The drop down menu is connected to a recordset listUsername, I have filtered the recordset with the Form Variable = username, and I have used the POST method to send the username to the page username.php. I'm not sure how to structure the php or which page to place it on.
    <form id="form1" name="form1 method="post" action="username.php">
         <label for="username_id">choose username:</label>
         <select name="username_id" id-"username_id">
              <option value="1">username1</option>
              <option value="2">username2</option>
              <option value="3">username3</option>
              <option value="4">username4</option>
         </select>
         <input type="submit" name="send" id="send" value="Submit" />
         <input type="username" type="hidden" id="username" value="<?php echo $row_listUsername['username']; ?>" />
    </form>
    Could somebody help me please?
    Thanks.

    I would not post the variable over, In this case I personally would send it through the URL and use the $_GET method to retreve it. For Example.
    <html>
         <head>
              <title>Test Page</title>
              <script type="text/javascript">
                   function userID(){
                        //var ID = form1.userIDs.selectedIndex;
                        var user = form1.userIDs.options[form1.userIDs.selectedIndex].value;
                        window.location = "test.html?userID=" + user;
              </script>
         </head>
         <body>
              <form id="form1">
                   <select name="userIDs" id="userIDs" onchange="userID();">
                        <option>Select a User</option>
                        <option value="1">User 1</option>
                        <option value="2">User 2</option>
                        <option value="3">User 3</option>
                        <option value="4">User 4</option>
                   </select>
              </form>
         </body>
    </html>
    //PAGE TO RETRIEVE THE USERNAME
    <?php
    if(isset($_GET['userID'])
         $userID = $_GET['userID'];
         echo $userID;
         die;

  • List/Menu Form hides Main nav dropdown

    I've created an html page that when you scroll over the main
    nav bar at the top, the drop down, or 2nd level headers, drop down
    'behind' a list/menu form? Any ideas on how to fix this?

    There are only two options, since list/menus are "ACTIVE
    CONTENT" and
    therefore always rise to the top of the page since they are
    always being
    redrawn by the browser -
    1. Redesign the page so that you move the list/menu out of
    danger, or
    2. Create some custom js to hide the list/menu when that
    particular submenu
    opens
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Lerbekmo" <[email protected]> wrote in
    message
    news:enmi0u$2hs$[email protected]..
    > I've created an html page that when you scroll over the
    main nav bar at
    > the top, the drop down, or 2nd level headers, drop down
    'behind' a
    > list/menu form? Any ideas on how to fix this?
    >

  • Populate List/Menu in Update Record form

    I am creating an update record form that contains a list/menu
    (with values General, 2002, 2004, 2006)
    How do I populate this menu so that it pulls current value
    from database, and not just the top default value each time?

    Swn-Y-Mor wrote:
    > I am creating an update record form that contains a
    list/menu (with values
    > General, 2002, 2004, 2006)
    >
    > How do I populate this menu so that it pulls current
    value from database, and
    > not just the top default value each time?
    Select the menu object in the form. Then click the Dynamic
    button in the
    Property Inspector. In the dialog box that opens, click the
    lightning
    bolt next to Select value equal to. Finally, choose the data
    field from
    the correct recordset.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Big Thanks for Menu Remote Setting from Ch. Play Lists

    Just before I handed over a DVD with 5 menus and 19 Ch. Play Lists, I was reading old posts on the EncoreDVD Forum. In several posts, many of the regulars pointed out a potential problem with Menu Remote, being set to "Return to Last Menu," rather than being physically set to return to the specific menu, from which that Ch. Playlist was launched.
    I had not known of this problem, beforehand, and was just assuming that "Return to Last Menu," was OK, as it was what I intended. I had not tested my Project 100% from the +RW, as I do not normally use the Menu Remote button, and all else was as I wanted it.
    I made the corrections to the specific Menus for the final, and then tested the +RW again - about half of the time, the Menu Remote took me back to the Main Menu! Not what I wanted, but had not bothered checking. Much better to know now, than when the client is screening the DVD and this is creating a problem.
    Thanks for the H/U on this little glitch, and providing the easy solution to it. The forums at their best!!!!
    I also understand that this little quirk has been addressed and fixed in CS3.
    Hunt

    Oops,
    Missed the sub-forum by two. This was supposed to go in Playlists. Maybe JerryK, or KingLeonard will move it. Sorry about clicking the wrong line.
    Hunt

  • Http Session combing HTML forms and List / Menu Components

    My problem is the following one... I have a .jsp page that includes a form with three List / Menu Components. I want my second List / Menu Component to be filled with data depending on the selection I have made to the first List / Menu Components. (Of course there is a MYSQL database behind). And I want the third List Menu Component to be filled with data depending on the selection I have made to the second one.

    Three options:
    1) use incredibly large javascript arrays to hold the data for the second and third lists and use onChange events in the first and second list to alter the list contents based on selection
    2) use ajax calls to fetch the data for the second and third list, still using javascript events to listen for selections.
    3) do a form submit on each selection and fill the lists server side.
    The third option is of course by far the easiest, but that will give you submits in between that you may not want. Ajax is a good solution to this problem in my opinion.

  • Problems setting up my forms (was: Forms)

    Hi
    I'm having trouble with setting up my forms, When I send the message no pop up message says its sent but I do recieve the email but with no content.
    Can anyone please advise me? my two PHP and HTML code is below.
    HTML Code:
    <form method="post" id="contactform">
                                        <div class="row">
                                            <div class="span4">
                                                <input type="text" class="prepared-input w100" id="contactname" value="Name">
                                            </div>
                                            <div class="span4">
                                                <input type="email" class="prepared-input w100" id="contactemail" value="E-mail">
                                            </div>
                                        </div>
                                        <div class="divide10 hidden-phone"></div>
                                        <textarea  id="contactmessage" class="prepared-input w100" rows="3">Message</textarea>
                                        <div class="divide10"></div>
                                        <input id="From_Comment_Go" type="submit" class="btn btnmc1 white" value="Send Message">
      </form>
    PHP Code:
    <?php
    $to = '[email protected]';
    //Language Options
    $contact_labelmailhead = 'Contact Form Email';
    $contact_labelmailsubject = 'Contact Form Email from';
    $contact_labelname = 'Name';
    $contact_labelemail = 'Email';
    $contact_labelmessage = 'Message';
    $name = trim($_POST['name']);
    $email = trim($_POST['email']);
    $message = str_replace(chr(10), "<br>", $_POST['message']);
    $body = "<html><head><title>$contact_labelmailhead</title></head><body><br>";
    $body .= "$contact_labelname: <b>" . $name . "</b><br>";
    $body .= "$contact_labelemail <b>" . $email . "</b><br>";
    $body .= "$contact_labelmessage:<br><br><b>" . $message . "</b><br>";
    $body .= "<br></body></html>";
    $subject = $contact_labelmailsubject.'[email protected]' . $name;
    $header = "From: $email\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=utf-8\n";
    mail($to, $subject, $body, $header);
    ?>

    Now nothing in my inbox.
    This is the first time I have worked with forms and I am not familiar with php. The template providor has gone walkabout and left me in lerch abit.
    What and where should  php code be? This is my page html
    <!DOCTYPE html>
    <html lang="en">
      <head>
      <link rel="shortcut icon" href="lilycot-holiday-cottage-st-marychurch-torquay.ico" />
         <title>Contact Lilycot Holiday Cottage. Lilycot Holiday Home, St. Dominic's Close, St Marychurch, Torquay, Devon, TQ1 4UN</title><meta name="description" content="Lilycot Holiday Cottage. Check availabilty, make a holiday booking. Lilycot's contact details. Lilycot holiday cottage, St. Dominic's Close, Torquay, Devon, TQ1 4UN. Telephone Torquay 01803 326633">
        <meta name="author" content="Lilycot Holiday Home, St. Marychurch, Torquay, Torbay">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!--meta http-equiv="X-UA-Compatible" content="IE=edge" /-->
      <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-44753246-1', 'lilycot.co.uk');
      ga('send', 'pageview');
      </script>
        <link href="source/plano_onepage_eco/css/bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
        <link href="source/plano_onepage_eco/css/style.css" rel="stylesheet" type="text/css">
        <link rel="stylesheet" href="source/plano_onepage_eco/css/style-onepage.css">
        <link href="source/plano_onepage_eco/css/style-eco.css" rel="stylesheet" type="text/css"><link href="source/plano_onepage_eco/css/style-onepage-eco.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="source/plano_onepage_eco/css/type/fontello.css">
    <script type="text/javascript" src="source/plano_onepage_eco/js/showbizpro/js/jquery.themepunch.plugins.min.js"></script >
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <div class="responsive_wrapper">
    <div id="responsive-menu">
                    <div class="resp-closer"><i class="txt-center icon-cancel-1 white medium lm10 tm10"></i></div>
                    <div class="resp-menuheader"></div>
                    <ul>
                    </ul>
                </div>
            </div>
            <header class="header">
                 <section class="subheader_wrapper">
                        <div class="container txt-center">
                            <ul>
                                <li class="inblock rm30 lh23"><i class="icon-phone white rm10"></i><span class="white">Phone +44 (0)1803 326633</span></li>
                                <li class="inblock rm30 lh23"><i class="icon-address white rm10"></i><span class="white">Lilycot, St. Marychurch, Torquay, Devon <a class="white bold" href="#contactsection">contact us, get directions</a></span></li>
                                <li class="inblock rm30 lh23"><i class="icon-mail white rm10"></i><span class="white"><a class="white" href="mailto:[email protected]">[email protected]</a></span></li>
                            </ul>
    </div>
                        <i class="icon-cancel-circled white close_subheader"></i>
    </section>
                <section class="subheader_opener_wrapper">
                            <div class="divide20"></div>
                            <div class="rightfloat rm20"><i class="icon-down-1 gray open_subheader"></i></div>
                            <div class="clear"></div>
                </section>
            </header>
    <section class="maincontent">
      <section class="bgimage6 parallax centeredparallax">
            <div class="container">
                <div class="divide25"></div>
                <a href="http://www.lilycot.co.uk/"><img src="lilycot-holiday-home-torquay.png" alt="holiday let torquay"></a>
            <div class="divide50"></div>
                <div class="row">
                    <div class="span8 offset2">
                        <h2 class="portfolio-title bold txt-center whitetext">Lilycot holiday home Torquay. <br>
    Relax, explore, and enjoy this lovely holiday accommodation in this beautiful place, Torbay.</h2>
                    </div>
                </div>
                <div class="divide30"></div>
                <div>
                <button class="btn glas white txt-center" onClick="window.open('http://www.cottages4you.co.uk/cottages/lily-cot-25333');return document.MM_returnValue">Check Availability</button></div>
                <div class="clear"></div>
                <div class="divide60"></div>
            </div>
        </section>
      <section class="header_wrapper">
                    <div class="container">
                            <div class="divide5"></div>
                            <div class="resp-navigator reversefadeitem"><i class="icon-menu medium lightgray"></i></div>
                            <div class="nav_wrapper">
                                <div id="nav" class="hidden-phone">
                                            <ul>
                                                    <li ><span class="active hassubmenu toplevel"><a href="http://www.lilycot.co.uk/">Home</a></span>
                                                     <ul>
                                                              <li><a class="inside" href="index.html#aboutsection">About Lilycot</a></li>
                                                            <li><a class="inside" href="index.html#customersection">Things to do</a></li>
                                                            <li><a class="inside" href="index.html#testimonialsection">Customers Comments</a></li>                                                       
                                                      </ul>
                                                    </li>
                                                    <li><a class="inside" href="about-us.html#teamsection">About Us</a></li>
                                                    <li><a class="inside" href="views-of-lilycot.html#portfoliosection">Views of Lilycot</a></li>
                                                    <li><a class="inside" href="index.html#customersection">Things to do</a></li>
                                        <li><a class="inside" href="index.html#blogsection">Lilycot's Blog</a></li>
                                                    <li><a class="inside" href="#contactsection">Contact Us</a></li>
                                            </ul>
                                            <div class="clear"></div>
                                </div>
                            </div>
                    </div>
      </section>
        <div class="sbclear"></div></section>
    <div id="contactsection"></div>
      <div class="divide85"></div>
                    <h3 class="bigintro txt-center">Contact Us</h3>
                    <div class="divide35"></div>
            </section>
      <div class="gmap_outter"><div id="googlemap1"  class="gmap_inner big"></div></div>
    <section class="bgwhite">
                <section class="container">
                    <div class="divide60"></div>
                  <div class="row">
                      <div class="span8">
    <h3 class="content-title bold">Send us a Message</h3>
                                    <p class="">Lilycot holiday home is situated in St. Marychurch, Torquay, Devon. A timeless, quite, and tranquil part of the English Riviera.</p>
                                    <div class="divide30"></div>
                                    <form method="post" id="contactform">
                                        <div class="row">
                                            <div class="span4">
                                                <input type="text" name="name" class="prepared-input w100" id="contactname" value="Name">
                                            </div>
                                            <div class="span4">
                                                <input type="email" name="email" class="prepared-input w100" id="contactemail" value="E-mail">
                                            </div>
                                        </div>
                                        <div class="divide10 hidden-phone"></div>
                                        <textarea  id="contactmessage" name="message" class="prepared-input w100" rows="3">Message</textarea>
                                        <div class="divide10"></div>
                                        <input id="From_Comment_Go" type="submit" class="btn btnmc1 white" value="Send Message">
      </form>
                            </div>
                            <div class="divide40 visible-phone"></div>
    <div class="span3 offset1">
                                <h3 class="boxed-title bold">Our Address</h3>
                                <p class=""> Lilycot Holiday Home</p>
                                <p class="">St. Dominic's Close</p>
                                <p class="">St. Marychurch</p>
                                <p class="">Torquay</p>
                                <p class="">Devon</p>
                                <p class="">TQ1 4UN </p>
                        <div class="divide20"></div>
                                <p><span class="highlight">Telephone: </span>+44 (0)1803 326633</p>
                                <p><span class="highlight">Email: </span><a href="mailto:mailto:[email protected]">[email protected]</a></p>
                                <p>Website: <a href="http://www.lilycot.co.uk/" title="Lilycot Holiday Home Torquay Devon" target="_blank">www.lilycot.co.uk</a></p>
    <div class="divide20"></div>
                            </div>
                    </div>
                    <div class="divide60"></div>
                </section>
            </section>
        </section>
    </section>
             <footer>
    <section class="bgdarkgray bgecogreen darkmargin">
                    <section class="container">
                        <div class="divide40"></div>
                        <div class="row">
                            <div class="span5">
                                <h3 class="article-title white blackonlight"><strong class="nostrongonlight">Lilycot holiday home Torquay on Google</strong>+</h3>
                            </div>
                            <div class="span7 txt-right">
                                <a href="https://plus.google.com/106268051730041736327/about"><i class="icon-s-gplus roundborder-small darkgray rm20 bm10"></i></a>
                            </div>
                        </div>
                        <div class="divide30"></div>
                    </section>
                </section>
              <section class="footer">
                <div class="container">
    <article class="one_third">
                              <h3 class="widget-title nobottommargin">About</h3>
                              <div class="divide30"></div>
                              <p>This website is designed to be helpful to Lilycot holiday home visitors. Lilycot holiday home Torquay has provided this information as a guide, and to promote our local community St. Marychurch, our local traders, our local attractions, things to do, and places to go within Torbay, and the county of Devon. Please note that information contained in this website may change.</p>
                              <div class="accordion">
                                <div class="accordion-heading">
                                  <p>Copyright 2013© Lilycot Holiday Home. All rights Reserved. <a href="http://www.myquirk.co.uk/" title="myquirk website design" target="_blank">myquirk </a></p>
                                </div>
                                <p> </p>
                              </div>
    </article>
    <article class="one_third">
    <h3 class="widget-title nobottommargin">Get intouch</h3>
                              <div class="divide30"></div>
                              <p class="">Lilycot Holiday Home</p>
                              <p class="">St. Dominic's Close</p>
                              <p class="">St. Marychurch</p>
                              <p class="">Torquay</p>
                              <p class="">Devon</p>
                              <p class="">TQ1 4UN</p>
                              <div class="divide20"></div>
                              <p><span class="highlight">Telephone: </span>+44 (0)1803 326633</p>
                              <p><span class="highlight">Email: </span><a href="mailto:[email protected]">[email protected]</a><a class=""></a></p>
                              <p>Website: <a href="http://www.lilycot.co.uk/" title="Lilycot Holiday Home">www.lilycot.co.uk</a>                  </p>
    </article>
    <article class="one_third lastcolumn">
                                <h3 class="widget-title nobottommargin">Latest Blog</h3>
                                <div class="divide30"></div>
            <section class="recent-posts-wrapper">
    <div class="recent-post">
                                        <a href="index.html#blogsection"><span class="nobottommargin mc1"></span></a></div><!-- #BeginLibraryItem "/Library/latest artical.lbi" -->
                                        <a href="index.html#blogsection"><span class="nobottommargin mc1">Beaches is Torbay information page is now finished.</span></a>
    <div class="divide5"></div>
                                        <p>Lilycot's 'Beaches in Torbay' page is now finished. We have compiled a comprehensive list of all the beaches in and around the Torbay area, giving holiday guests at Lilycot holiday home, easy access to our rich and diverse beaches in torquay, Paignton and Brixham. </p>
                                        <!-- #EndLibraryItem -->Posted by <a href="about-us.html#teamsection">Rachel & Daryl</a>
    <div class="divide30"></div>
                                </section>
                      </article>
                            <div class="clear"></div>
                  </div>
                </section>
            </footer>
        </section>
        <!-- javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="source/plano_onepage_eco/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="source/plano_onepage_eco/js/jquery.gmap.js"></script>
    <script type="text/javascript" src="source/plano_onepage_eco/js/jquery.isotope.min.js" ></script>
    <script type='text/javascript' src='source/plano_onepage_eco/js/mediaelement-and-player.min.js'></script>
    <script type='text/javascript' src='source/plano_onepage_eco/js/FitVids.js'></script>
    <script type="text/javascript" src="source/plano_onepage_eco/js/forms.js" ></script>
    <script type="text/javascript" src="source/plano_onepage_eco/js/screen.js" ></script>
    <script type="text/javascript" src="source/plano_onepage_eco/js/jquery.sticky.js"></script>
        <script type="text/javascript" src="source/plano_onepage_eco/js/jquery.scrollto.js"></script>
      </body>
    </html>

  • How to change a list/menu to a text field when 'Other' is chosen?

    Hi there. I've been trying to solve this for a week now and I have depleted all my resources, that is why I'm here. I even went to jquery but nothing works and I think I was over-complicating this way too much.
    In short: I have a contact form, which have a list/menu with validation, and one of the options of that list/menu is "other". What I want is that when the user select "other" automatically change to a text field in order to let the user put his custom color. This is what I have:
    <form method="post" action="process.php">
    <span id="spryselect1">
    <label for="colors"></label>
    <select name="colors" id="colors">
    <option selected="option1">Blue.</option>
    <option value="option2">White</option>
    <option value="option3">Red</option>
    <option value="other">other</option>
    </select>
    <span class="selectRequiredMsg">Please select a colour.</span></span>
    <input type="submit" value="Send">
    </form>
    I know now that the approach is to show/hide a separate textbox besides the other... well. I don't know how to implement that, I think I really need your help guys. I'm completely frustrated.
    Thanks in advance.

    Have a look at the following
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/selectvalidation/SpryValidationSelect.css" rel="stylesheet">
    <link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextField.css" rel="stylesheet">
    <style>
    .hidden {display:none;}
    </style>
    </head>
    <body>
    <form action="" method="post">
      <span id="spryselect1">
      <label for="colors">Colours:</label>
      <select name="colors" id="colors" onchange="MyOnClickHandler(this.value)">
        <option value="">Please select...</option>
        <option value="blue">Blue</option>
        <option value="white">White</option>
        <option value="red">Red</option>
        <option value="other">other</option>
      </select>
      <span class="selectRequiredMsg">Please select a colour.</span></span><span id="sprytextfield1">
      <input name="other" id="other" class="hidden" type="text">
      <span class="textfieldRequiredMsg">A value is required.</span></span>
      <input name="" type="submit">
    </form>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryDOMUtils.js"></script>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationSelect.js"></script>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
    <script>
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield1;
    function MyOnClickHandler(value) {
         if(value =='other') { //show text field and set validation
              if(!sprytextfield1){
              sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
              Spry.$$('input#other').removeClassName('hidden');
         } else { //hide textfield and destroy validation
              if(sprytextfield1 && sprytextfield1.destroy){
                   sprytextfield1.resetClasses();
                   sprytextfield1.destroy();
                   sprytextfield1 = null;
              Spry.$$('input#other').addClassName('hidden');
         return false;
    </script>
    </body>
    </html>
    Gramps

  • List/Menu (multiple selected)  insert into MySQL

    I have been building a feedback form and I am running into a
    issue that when I place a list/menu that allows multiple selections
    when I submit my form in my MySQL database it collected the
    information but only on the last multiple selection.
    For example, this is what my list/menu looks like.
    <select name="occasion" size="5" multiple="MULTIPLE"
    id="occasion">
    <option value="Spur of the moment,">Spur of the
    moment</option>
    <option value="Family dinner">Family
    dinner</option>
    <option value="Special occasion (i.e.
    birthday)">Special occasion (i.e. birthday)</option>
    <option value="Office get together">Office get
    together</option>
    <option value="Romantic dinner">Romantic
    dinner</option>
    <option value="Night out with friends">Night out with
    friends</option>
    <option value="Business meeting">Business
    meeting</option>
    <option value="Other">Other</option>
    </select>
    And my MySQL database I have it set up as...
    Field Type
    occasion mediumtext
    I do not know why I cannot have more than one selection
    inputed into my field, what must I do to correct this? Everything
    works perfectly expect the multi selected list/menu. I want to
    place all that is selected in the list/menu in that one database
    field called occasion.

    .oO(MikeL7)
    >>You should also test with isset() and is_array() if
    $_POST['occasion']
    >>is available at all and of the expected type. The
    code above will also
    >>throw a notice if $insert_string is not initialized
    before the loop.
    >
    > I use both isset and is_array in my code, When you say
    notice, you dont mean
    >a script stoppiong error?
    Nope. An E_NOTICE error won't terminate the script, but
    shouldn't happen
    nevertheless. While developing, the error_reporting directive
    should be
    set to E_ALL|E_STRICT and _all_ reported problems should be
    solved. It's
    not only better coding style, but also helps to prevent real
    errors. In
    this particular case it was just a guess, because it was only
    a part of
    the code. But using an uninitialized variable with a '.='
    operator for
    example would lead to a notice, which should be fixed.
    >>But of course this is a really bad DB design, as it
    already violates the
    >> first normal form (1NF). Just some ideas for queries
    that might come to
    >> mind, but would be really hard to do with such a
    comma-separated list:
    >
    > A better table design would be to have column for |
    list_ID | user_ID |
    >song_ID | and do a insert for each song selected.
    Yes, something like that.
    >Thanks for the input, i like escaping the variables from
    a string as they
    >stand out more in code view, is the single quote method
    faster? And which one
    >will be or is already deprecated?
    All are correct and won't be deprecated. IMHO it's more or
    less just
    personal preference. It also depends on the used editor and
    its syntax
    highlighting capabilities. For example I use Eclipse/PDT for
    all my PHP
    scripts, which can also highlight variables inside a string.
    But if the
    above is your preferred way, there's nothing really wrong
    with it.
    Just some additional thoughts:
    Personally I prefer as less escaping and concatenating as
    possible,
    because such a mixture of single quotes, double quotes, dots
    and
    sometimes even escaped quote signs (for example when printing
    HTML)
    _really_ confuses me. I like to keep my code clean and
    readable.
    Something like this:
    print "<img src=\"".$someVar."\" ...>\n";
    not only hurts my eye, it is also quite error-prone. It's
    easy to miss a
    quote or a backslash and get a parse error back, especially
    in editors
    with limited syntax highlighting (or none at all). So I would
    prefer
    print "<img src='$someVar' ...>\n";
    or even
    printf("<img src='%s' ...>\n", $someVar);
    When it comes to performance issues, of course there's a
    difference
    between the various methods. But for me they don't really
    matter. In
    practice you usually won't notice any difference between an
    echo, a
    print or a printf() call for example, as long as you don't
    call them
    a million times in a loop.
    So I always just use the method that leads to the most
    readable code.
    In many cases, especially when a lot of variables or
    expressions are
    involved, (s)printf() wins. Not for performance, but for
    readability.
    But as said - personal preference. YMMV.
    Micha

  • Please help! How can I validate Radio Buttons and List Menu with PHP.

    Hello everyone, I have been learning PHP step by step and
    making little projects.
    The point is I find it easy to learn by doing "practical
    projects."
    I have been reading the David Powers's Book on PHP Solutions
    and it's really great, however there is nothing mentioned regarding
    Validating Radio buttons. I know the book cannot cover every aspect
    of PHP and maybe someone in here can help.
    I have been learning how to process HTML forms with PHP.
    The problem is every book or tutorial I have read or
    encountered fall short on validation.
    I'm wondering how I can learn to validate Radio Buttons and
    Select List Menu.
    I have managed to create validation for all other fields but
    have no clue as to how I can get validation for Radio Buttons and
    List Menu.
    I would also like an error message echoed when the user does
    not click a button or make a selection and try to submit the form.
    I would appreciate any help.
    Patrick

    It's not that default value is "None." In fact it's not. It
    will only be
    "none" when the form is submitted.
    Also if your submit button is names 'send' then
    $_POST['send'] will only be
    set if the form was submitted.
    Make sure you didn't hit the refresh button on your browser
    which usually
    reposts the information. Also make sure you did not reach the
    form from
    another form with the same button names.
    Otherwise paste the snippet.
    Also you can check what fields are set in the post array by
    adding this to
    the top of (or anywhere on) your page:
    print_r($_POST);
    Cosmo
    "Webethics" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Off the top of my head this should be no different than
    your radio buttons
    > except that 'productSelection' will always fail the
    !isset check when the
    > form is submitted since the default value is "None", and
    therefore always
    > set. :-)
    >
    > So how about this..?
    > <?php
    > if (isset($_POST['send']) and
    ($_POST['productSelection'] == "None"))
    > {echo "Please select a product.";}
    > ?>
    >
    >
    >
    >
    > "Webethics" <[email protected]> wrote
    in message
    > news:[email protected]...
    > > Another question - how do i applied the code you
    just showed me to
    > > select
    > > menu
    > > or select list?
    > >
    > > This is the list:
    > >
    > > <div class="problemProduct">
    > > <label for="productSelection"><span
    class="product_label">Product
    > > Name.</span></label>
    > > <select name="productSelection" id="products"
    class="selection">
    > > <option value="None">-------------Select a
    product----------</option>
    > > <option value="Everex DVD Burner">Everex DVD
    Burner</option>
    > > <option value="Vidia DVD Burner">Vidia DVD
    Burner</option>
    > > <option value="Excerion Super Drive">Excerion
    Super Drive</option>
    > > <option value="Maxille Optical Multi
    Burner">Maxille Optical Multi
    > > Burner</option>
    > > <option value="Pavilion HD Drives">Pavilion
    HD Drives</option>
    > > </select>
    > > </div>
    > >
    > > I thought I could just change the name is the code
    from operatingSystem
    > > to
    > > productSelection.
    > >
    > > Something like this:
    > >
    > > From this:
    > >
    > > <?php
    > > if (isset($_POST[send]) and
    !isset($_POST['operatingSystem']))
    > > {echo "Please select an operating system.";}
    > > ?>
    > >
    > > To this:
    > >
    > > <?php
    > > if (isset($_POST[send]) and
    !isset($_POST['productSelection']))
    > > {echo "Please select an operating system.";}
    > > ?>
    > >
    > > But this does not work, any ideas?
    > >
    > > Patrick
    > >
    >
    >
    >
    >
    > Hey, I tried this about but as you mentioned, since the
    default product
    > value
    > is "None" an error message appears when the page loads.
    >
    > Is there a way to code this things so that even though
    the default value
    > is
    > "None" there ia no error message untle you hit the
    submit?
    >
    > When I applied the code, it messes up the previous code,
    now the operating
    > system is requiring an entry on page load.
    >
    > When I remove the code from the list menu everything
    goes back to normal.
    >
    > I know this is a little much but I have no other
    alternatives.
    >
    > Patrick
    >

  • Passing parementer frron forms to menu in oracle 6i form buider

    hello guys,
    i have to pass parameters from oracle 6i forms to the menus form.
    pl tell me how to do this?
    thanks & regards
    Vishal Agrawal

    965354 wrote:
    i have set menus.mmx fath to menu module property of the calling form.
    my problem is that i have to populate a list box of called form according to the value supplied by calling form.Declare global variable at calling form and use it in called form to populate list box.
    but form is called through menus.There is no issue with the menus.
    so first i need to pass that value to the menu .mmx and then menu.mmx will pass that value to calling forms.
    so please let me know how can i pass a value from form.fmx to menu.mmx.A global variable is available through out the user session. So it's not any other issue to use in within that session. In same session you can use it where you want.
    Hope it's clear to you.
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

Maybe you are looking for