Search Box Problems in Dreamweaver

HI
I am having a really stupid problem with my search box.  I have created a form which has a drop down list for 'Positions' and one for 'Location' and then I have a keyword search field.  The keyword search field works fine but I am struggling with the drop down fields.  Currently, if i do not make a selection from both drop down fields and say only make a selection on one, it doesn't bring up any results.  I would like to insert some sort of AND/OR statement in my SQL but not sure how to do this - does anyone have any ideas - this is my current statement:-
SELECT `Position`, Nursery, Location, Salary, Email, ContactNo, JobDescription, JobID, town, jobs.jobtitle
FROM jobs
WHERE `Position` = colname and jobs.Location = varLocation or jobtitle LIKE %colname2% or Nursery LIKE %colname2% or Position LIKE %colname2% or Location LIKE %colname2% or town LIKE %colname2%
Also, I have another two issues if anyone can help:-
I would like to insert a 'Select All' Category  in the drop down field - can't seem to find anything telling me how to do this.  I just want people to be able to select all items in the list if they want to.
Finally, in my drop down lists - when i go into List Values - I have all the positions listed under the label side and exactly the same position listed on the right hand 'Value' side.  All tutorials i read seem to say that you can list values as anything but if i change it to anything other than what is listed as the label it returns a blank result when i carry out the search.  Also, when i changed the label from Nursery Managers to Nursery Managers Jobs it returned a blank result.  I know there is something simple i should be doing/adding somewhere but can't find anything to tell me what. 
Any help would be very much appreciated
THANKS

When combining AND with OR in the SQL where clause, you need to use parenthesis to explicitly say how you want logic to be combined.
In addition, if someone does not make a selection, or chooses 'Select All', then do not include that column in the where clause at all. You do this by dynamically building the where clause;  check the values from the submission and if they are not null, add them to the where clause, otherwise do not add them.

Similar Messages

  • Help menu "Search" box missing in Dreamweaver 5.5 for Mac

    I've just upgraded from CS3 to CS5.5 on Mac OS 10.6.8 and am still finding my way around the new menus.  The easiest way to find a menu command is usually to use the spotlight type "search" box that appears at the top of the help menu, which flags up exactly were each command is when you type in it's name. However, while the search box is there in my other CS5.5 applications it's missing from Dreamweaver.  Can anyone tell me how to fix this?
    I have tried the obvious things like repairing permissions and rebooting and have also got Spotlight to re-index my hard disk  in case the fault lay there, but it didn't help.
    Just to clarify, here's how the help menu looks in Dreamweaver with the "search" box missing.
    And here's how the "search" box appears in the other CS5.5 applications.

    You need to use F1 key to launch this window:
    Alternatively, you can download the full helpfile in pdf form from this link:
    <http://help.adobe.com/en_US/dreamweaver/cs/using/dreamweaver_cs5_help.pdf>
    Adobe help system is now online so that you have access to the latest info at any time including solutions given in these forums.
    hth

  • About search box problem

    I'm having problem with the search box on my computer. There is no more search box in start menu and computer. what i have to do for remedy? please suggest me drivers or else..

    Hi,
    Try some of the general steps first and check.
    i. Go to Control Panel ---> Then Click on Programs or Programs and Features --> Click Turn Windows Features ON or OFF --> In Windows Features windows scroll down and check if Windows Search Box is ticked as shown in the pic below ..If not then click and add the tick mark.
    If the above doesnt work then you can try performing a System Restore to an earlier date and check.
    Restoring Windows to a Previous Point (Windows 7)
    Let me know if the above steps did not fix the issue..
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • Search box problem

    Hi All,
    i have a text box, where i need to add search functionality
    the data is as follow:-
    AA2346676
    AA7879787
    BB8687660
    BB6676868
    if i enter A in the text box then only the data prefixed with 'A' need to come i.e.,AA2346676,AA7879787 in this case ..
    so the end user will choose any one of these.
    Same in case of B,then how do i achieve this .
    Thanks,
    Dwitiya

    this needs to be done using AJAX. Denes Kubicek had implemented a good example for this , check it out:
    http://htmldb.oracle.com/pls/otn/f?p=31517:53:3434663902511999:::RP,::
    Sam

  • PROBLEM WITH AUTO POPULATE IN THE GOOGLE SEARCH BOX

    When I type in the google search box it auto populates search terms as it always has. However since upgrading to FF4 when I click on the one I want to go to ... nothing happens. I have to type the full search every time. I don't see this issue anywhere in the forum, am I the only one having this problem?

    How Firefox is opened should not matter.
    It could be the work of one of your add-ons, or even add / mal-ware.
    Open your '''Add-ons Manager <Control><Shift > A''' and make sure you
    know what each one is and what it does.
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Also, check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder.
    '''Linux:''' Check your user manual.
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''' {web link}

  • Search Box css problem in Ensemble2 with Win Xp

    Hi guys,
    I've notice a problem in style of search box in ensemble example. When the search box get the focus, the blue selection has not round corner as you can see here:
    http://justpaste.it/1h61
    This problem is present also in Windows Xp sp3. Why there is this difference between Win 7 and WIn xp?
    Thanks very much!

    Have some performance issues on Windows XP, too.
    I am using d3d prism settings to render on Windows 7 and XP. On Windows 7 everything working fine.
    On Windows XP it is slow and sometimes flickering.
    I didn't find a solution.
    1) Tried to start the application with other prism settings like -Dprism.order=d2d and OpenGL.
    2) I changed the 3d graphic settings that made it better, but didn't solve the issue.
    Someone knows the difference of rendering the javafx application in Windows 7 and XP (DirectX 11, DirectX9.0c)?

  • What is the easiest way to access the router from an iPad?  I have no problems accessing it from my laptop.  Even though I am entering the address in the left address box, not the Google search box, it wants to do either a search, or add www beginning of

    What is the easiest way to access the router from an iPad?  I have no problems accessing it from my laptop.  Even though I am entering the address in the left address box, not the Google search box, it wants to do either a search, or add www to the beginning of the IP address.
    I usually can eventually access the router, but it is way to much trouble.  However, I use my iPad hundreds of times more often than my laptop.

    Are you typing http:// in front of the IP address of the router? e.g. http://192.168.0.1
    Sometimes, and with some routers it doesn't seem to like it if you miss off the http://

  • Problems reading email in AOLMAIL,Bing search box appears in the email

    I can not read my email using aolmail. When I open my email the Bing search box appears and the content section for the mail. I can read the email using Internet Explorer, ATT.Net I only have the problem using firefox,

    When combining AND with OR in the SQL where clause, you need to use parenthesis to explicitly say how you want logic to be combined.
    In addition, if someone does not make a selection, or chooses 'Select All', then do not include that column in the where clause at all. You do this by dynamically building the where clause;  check the values from the submission and if they are not null, add them to the where clause, otherwise do not add them.

  • A search box in dreamweaver, which searches the site not a google search

    Hi would someone be able to tell me, when creating a search box in dreamweaver, do I have to create the pages that answer the text quires entered into the search bar? I know how to create contact forms etc, im just a little confused how a personalised search bar for a website in dreamweaver works. Any opinions or answers would be greatly appreciated. Cheers Elle

    others that maybe searching (irony?) for a search form will know what the best method is vs. the throw up in your mouth method that was suggested by others earlier in this thread.
    @shocker,
    The only reference to "vomit" here is your own.  The rudeness of your remarks notwithstanding,  you are once again misinformed, as is so typical when the discussion gets around to 3rd party solutions.
    Freefind is used by Dynamic Drive as well as many other commercial web sites.  Zoom from Wrensoft has received excellent reviews year after year.  And believe it or not, you can fully customize the search parameters, form and results pages to match your site's CSS styles. 
    Unless the OP is well versed in dynamic site development (which I doubt based on his question),  I'm afraid an off-the-shelf solution is about the best he can hope for.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Strange problem with Dreamweaver Pop-Up menus

    Hello:
    I have encountered a very strange problem with DreamWeaver
    pop-up menus, and I was wondering if I could get some help from
    this forum, as I can't seem to find an answer anywhere else.
    The problem involves use of DreamWeaver's pop-up menu
    behavior — all works as expected, and my local preview of the
    Web page/site works fine, but when I upload the site to a server, I
    see extra question mark and "box" characters added to my drop-down
    menus. This problem is inconsistent between browsers: Sometimes I
    see it only on IE, sometimes I also see it on Firefox.
    For example, check out the following URLs:
    http://libertycreativesolutions.net/clients/cci/
    ... this implementation of drop-down menus ("Services"
    button, etc.) displays an extra "box" character for each of the
    drop-down menu items, but this only occurs in IE -- Firefox is
    fine.
    http://libertycreativesolutions.net/clients/microtek/HTML/MicroTek_home.html
    ... this implementation of drop-down menus shows an extra
    question mark above the triggering link onMouseOver for Firefox,
    and in IE, it shows this "box" character for both the triggering
    buttons and for each menu item.
    For both of these sites, the pop-up menus work without a
    problem *when I'm looking at a local version on my workstation*.
    What in the Wide Wide World of Sports is going on here????
    Any help for this problem is appreciated.
    Note that I stripped out the JavaScript code for menu
    information from the <head></head> area of each of
    these pages and placed it in a linked JavaScript document.
    HELP!

    First, you need to read this, written by the person who
    adapted that menu
    code for Macromedia -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    Then you need to know that there are MUCH better ways to do
    such things -
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    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
    ==================
    "Pomond69" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello:
    > I have encountered a very strange problem with
    DreamWeaver pop-up menus,
    > and I
    > was wondering if I could get some help from this forum,
    as I can't seem
    > to
    > find an answer anywhere else.
    >
    > The problem involves use of DreamWeaver's pop-up menu
    behavior ? all works
    > as
    > expected, and my local preview of the Web page/site
    works fine, but when I
    > upload the site to a server, I see extra question mark
    and "box"
    > characters
    > added to my drop-down menus. This problem is
    inconsistent between
    > browsers:
    > Sometimes I see it only on IE, sometimes I also see it
    on Firefox.
    >
    > For example, check out the following URLs:
    >
    >
    http://libertycreativesolutions.net/clients/cci/
    > ... this implementation of drop-down menus ("Services"
    button, etc.)
    > displays
    > an extra "box" character for each of the drop-down menu
    items, but this
    > only
    > occurs in IE -- Firefox is fine.
    >
    >
    http://libertycreativesolutions.net/clients/microtek/HTML/MicroTek_home.html
    > ... this implementation of drop-down menus shows an
    extra question mark
    > above
    > the triggering link onMouseOver for Firefox, and in IE,
    it shows this
    > "box"
    > character for both the triggering buttons and for each
    menu item.
    >
    > For both of these sites, the pop-up menus work without a
    problem *when I'm
    > looking at a local version on my workstation*.
    >
    > What in the Wide Wide World of Sports is going on
    here???? Any help for
    > this
    > problem is appreciated.
    >
    > Note that I stripped out the JavaScript code for menu
    information from the
    > <head></head> area of each of these pages
    and placed it in a linked
    > JavaScript
    > document.
    >
    > HELP!
    >

  • Who Decided to Combine the Search Box and Address Bar?

    A very wise person once said:
    "Make everything as simple as possible, but no simpler!"
    That fundamental rule of design has been volated with Internet Explorer 9.
    I've been using IE9 for about a month now, trying to get used to all the new things.  Performance-wise it's nice, and the changes to security are welcome.  Okay, so the color-management is half baked, and it still has its problems, but I guess
    it's an improvement.
    But what idiot decided to make the search box and the address field one and the same?
    You think I'm being petty?  Go try to research what a particular file is - for example, go see if you can find info on "bib.dll".
    It wants to make it into a URL.  It's not a URL.  It may LOOK like one, but it's a name, honest! 
    Putting quotes around it doesn't help.  Maybe I'm missing the advanced syntax it takes to get such a thing to be a search term instead of a URL. Even if so, how is this an improvement or simplification?  It's certainly not intuitively obvious how
    to force a search, short of dredging up a link to Google and typing info in there directly.
    Doing a search and typing in an address are two FUNDAMENTALLY DIFFERENT THINGS.
    And hey, it's not a big deal that you can no longer see what it was you searched for, and maybe even edit it and search again.  No, because now the search engine pages have to waste space to put up a box showing what you just searched for, since it's
    now GONE out of the address field.
    How does stuff like this pass a design review?
    And to think the Microsoft Engineers worked extra hard to take it out.
    You Engineers at Microsoft need to take the product back from your moronic marketing people and make it actually work right.
    -Noel

    Ed, with 36 years software engineering experience, I know the difference between the difficulty of adapting to change and when something just isn't right.
    This isn't right.  Ever hear the phrase "apples and oranges" to describe two things that don't go together?  That concept fits well here.
    You say that thinking along the lines of "you no longer had to think about which box you want to type into" helped justify the change. 
    Is there something wrong with thinking?  This is akin to saying, "you no longer had to think about which nozzle at the gas station to fill your tank from". 
    Diesel doesn't work in a gas engine.  Nor does the water from the garden hose.
    You say "both methods of typing work in the one box".  But they don't, logically!  Did you actually read this thread? 
    Is there something wrong with logic?
    Alas, what the simple users of the general public want and what experienced computer users need are clearly two different things, and it's clear looking back that this move simply marked another step in Microsoft's clear intent
    to walk away from making serious computer operating systems that actually
    work.  Windows 8 is testament to that (and don't tell me you haven't noticed all the negative response).  Other such things include Windows Search - which is designed to be unable to actually do an exhaustive search...  Even going
    back as far as hiding file extensions by default.  And don't get me started on the use of telemetry to justify deprecating such things as Windows Backup.
    Do you understand the difference between leading and following?  Which, as a concept, would you say is better?  You need to stay the hell away from trying to emulate what Google does.  You can do better!  If you want a different
    example, follow Firefox - it still has a search box.  Even Apple - known for dumbing things down to the level of the family dog - stil puts a search box in Safari.
    I don't mean to be critical of your response, Ed, but this is a good example of "the operation was a success but the patient died".
    Thank goodness there are 3rd party developers who are struggling to put back functionality Microsoft keeps removing.  But then Microsoft removes the APIs they use.  That's not going to keep!
    P.S., Watch the film "Idiocracy" some time.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Url does not show up in address bar...and when i type in a search box, the cursor jumps up to the address bar automatically

    I'm not sure what happened. However, I can never see the URL in the address bar anymore.
    I go from page to page, and the URL shows only for a split second, then disappers.
    All the address bar says is "Search or enter address"
    I copy and paste a lot of URL links for work, so this makes it very painful and a hassle now.
    Where now i need to go back, right click on a link, and do "copy link location".
    Where as i used to just go up to the address bar and copy the URL.
    Also, I notice now when I start typing on certain search boxes.
    The cursor automatically jumps to the URL address bar as soon as I start typing. Which is really annoying.
    It will only do it once it seems....but its annoying when i try to type a search...only to see that i've been typing in the URL address box cus it jumped up there.
    PLEASE HELP!!!!

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Set the Finder's Search Box default to current folder? How?

    How do I set the the Finder's default Search Box parameters to be the current folder that I'm in, instead of searching the whole flamin' computer? (I have to quickly click on the folder name) And also instead of the default being 'Contents', how can I set it to be 'File Name'? It would speed up so many of my searches. I could still click on 'This Mac' to get that, and 'Contents' likewise.
    Tks in advance
    Drew

    I complitely agree and very very frustrated with that problem too just wrote this to feedback system:
    The problem that many people find is that when you have a finder windows open and that you browse a file like "Appplication" then due to the large number of application you use the search bar by taping the application name.
    That's where the problem come from.
    Once you tape the application name it start searching in the all computer ! instated of in the file
    The second problem is that he is searching the content and it will be better to have as default by file name.
    If i wanted to do that kind of search i will use the spolight button next to the clock and people want that search bar in finder to be searching in the folder you are in not all computer.
    Last problem is that we don't have a custom option in spotlight preference or finder preference.
    I would recommend to have that default search in finder change to search in file ONLY and to add Spotlight option in the Finder Preference for people to be able of customizing it.
    When you use that search bar everyday many times a day it becomes very very frustrating.

  • List search box does not work for some users Sharepoint 2013

    Hello,
    I have a list for which I've enabled a search box (from web part settings, miscellaneous).
    The problem is that for me and the others admins the search works perfectly, but for the other users who have only Read
    privilege the search doesn't work and shows the loading icon forever.
    Why does this happen?
    How can I enable search box
    for the list for all users?
    Please help
    me

    Hi,
    For troubleshooting your issue, please go to Central Administration -> Application Management ->Manage Service applications->  select search service application -> click Permissions -> add "Everyone" with Full Control.
    Best Regards,
    Eric           
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Why won't my "searchpreview" add-on work from my browser search box since Firefox updated to 3.6.16, but it works when I do it from the Google main page??

    Since Firefox updated itself to 3.6.16 earlier today, when I search for anything in my Google search box on the browser, it always used to show me thumbnails when the Google page came up. Now there are no thumbnails appearing, except if I go on the Google main page and search from there, the thumbnails still appear. Whe it updated, the browser automatically searched for incompatability problems with my add-ons but nothing appeared to say Searchpreview was incompatible.

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

Maybe you are looking for

  • Problem with popup

    Hello, using VC 7.1 I have created a model which can be seen [here|http://img216.imageshack.us/img216/2421/screenshotfh4.png]. The popup is intended to display the key of the object which has been created by the web service. This happens as expected.

  • Student using a program that looked like notebook with tabs

    I was in a lecture today and saw someone in front of me with their lovely Macbook Pro opened out and they had on the screen a notebook style looking document open and they were writing their notes on it. The graphics made it look like an actual notep

  • NULL data in DatabaseRow causes problem with ScrollableCursor

    Hello, we are developing a system using Toplink. I am currently testing a ScrollableCursor to replace a CursoredStream. But now I encountered a problem: one of the primary key fields always contains "null" whereas it contained the row number when the

  • Re-Arranging Thumbnails In Adobe Elements 6 Organiser

    Hi folks, Is there a way of re-arranging the order of thumbnails in my Adobe Elements 6 organiser. When I uploaded all of my images to the organiser, for some reason they did not come out in the exact order I had them within my "my pictures" file on

  • Develop Preset for Import in LR4.2 (iMac 10.8.2)

    Can any please tell me how to set up a preset on the Import page (there are some there now) that I can use when I import my photos into LR. I am tired of going to Lens Correction in the Develop mod to put the nikon lens in that I used for the shoot.