cfinput search box and submit button

So I'm doing a search box with a submit button
I'd like it to be intuitive by having the words "search..." inside it by default
how do I make "search..." disappear when the user clicks on the box ?
is there any preference to post or get ?

If it's a search box though, making it a get probably makes sense: it doesn't change the system so it's not really a POST sort of operation, plus the punter can bookmark the search (results) URL which is quite handy.
Google uses a GET, for example.
But there's no hard-and-fast rule, obviously
As for the original question: this is really a client-side question, not a CF question (despite using <cfinput>).  As someone else suggested, read up on HTML and probably the JavaScript event model.
Adam

Similar Messages

  • Can't load any websites. I do not get any "error messages", the "enter" button has no effect in the address bar. Works fine in the FF search box and in IE.

    Entering a URL in the address bar and hitting enter does nothing. Neither the "enter" button or "address bar arrow", for going to the website, function. Website does not load and no error messages appear. "Enter" button works fine in the FF search box and in IE, so it's not my keyboard.
    Tried most of the recommended fixes under the "Error loading websites" article with the exception of "DNS refetching", as typing "about:config" in the location bar does no good as the "enter button" won't function. I've removed and re-added FF back into the windows firewall, removed ZoneAlarm from my system, edited proxy settings, deleted and reinstalled FF several times. NOTHING WORKS!!! I'm a die hard FF fan and this is KILLING me. Please HELP!!!

    You have a lot of information in packed in the "More system details..." (in the right-hand column), where it looks like you found a solution. If not take a look at "Problematic Extensions" the AVG Free installation of their "'''AVG Free Search'''" can cause such problems. Directions to fix that are specific and involve reinstalling AVG Free without the Link Scanner component.
    * http://kb.mozillazine.org/Problematic_extensions

  • Problem getting check boxes and radio button to click with applescript

    This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12
    key code 125
    key code 125
    key code 124
    key code 125
    key code 125
    key code 36
    delay 1
    end tell
    tell window "Variable Links"
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell

    Hi craneium and welcome
    For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
    where is the window "Variable Links, may be I can help.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12 --opens spotlight search in help
    key code 125 -- highlights indesign help
    key code 125 -- highlights welcome screen
    key code 124 -- goes to apple
    key code 125 -- goes to about this computer
    key code 125 -- highlights software update
    key code 36 -- starts software update
    delay 1 -- ?
    end tell
    tell window "Variable Links" -- error cant get window variable links
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell
    Budgie

  • 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

  • How to put Check Boxes and Radio button in Smartforms

    Hi all,
    How to put check Box and radio button in Smartforms ............ from web properties there is an option to use. But How to use.     
    regards,
    Mohsin

    u can declare the checkboxes or radiobuttons whatever in driver program and pass the same to ur form...

  • I am running Windows XP, SP3. I have tried to run Firefox 4 several times but it doesn't work properly. The main page comes up showing the logo, below that is the search box, and below that is another box with nothing in it.

    I am running Windows XP, SP3. I have tried to run Firefox 4 several times but it doesn't work properly. The main page comes up showing the logo, below that is the search box, and below that is another box with nothing in it.

    The external DVD/CD Writer will Not appear on your desktop when you attach it to your iMac.  It will appear in "Finder", which is in your Dock.
    Hope this helps

  • Customizing the text of next,back, and submit buttons in form guides

    Hi,
    We are preparing some forms in Turkish language. So, we need to change the text of next, back and submit buttons in the form guides. Is this possible? If so, how? Thanks for your help.

    This can be done via Flex Builder.  There is a good Next panel button example in this guide:http://help.adobe.com/en_US/livecycle/es/fggettingstarted.pdf.  I believe you can also control the text via the style sheet applied to the guide.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Specifies that the button should only be enabled if the current panel is
    not the last panel, and if a user clicks the button the form guide retrieves
    the next panel in the hierarchy. -->
    <mx:Button click="{panels.selectedIndex++}"
    enabled="{panels.selectedIndex &lt; panels.length-1}"
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <!-- Gets the panels ActionScript class instance that includes the list of
    visible the panels in a form guide. -->
    <mx:Script>
    <![CDATA[
    import ga.views.PanelListView;
    private var panels:PanelListView = PanelListView.instance;
    ]]>
    </mx:Script>
    </mx:Button>

  • Tabbing to "Prev", "Next" and "Submit" buttons in FormsCentral template

    I try to use my mouse as little as possible when entering data in forms.  How does one tab to "Prev", "Next" and "Submit" buttons in FormsCentral template so that all one has to do is press "enter" on the keyboard or spacebar?

    Thanks Roman for your response.  Press Tab or Shift-Tab works fine on my Windows computers but does not appear to work on my IPad.  Maybe it’s an Apple thing.  BTW – loving what I’m seeing so far in FormsCentral.
    Dixie Folzenlogen
    Dixie Folzenlogen
    Project Coordinator
    Striker Land Services Northeastern, L.L.C.
    6801 N Broadway, Ste 310
    Oklahoma City, OK 73116
    330-492-2401 (office)
    405-229-3907 (mobile)

  • "Accept and Submit" button disabled

    I am trying to applying for Adobe Runtimes / Reader Distribution License Agreement but the "Accept and Submit" button is disabled on https://www.adobe.com/cfusion/mmform/index.cfm?name=distribution_form. I have tried everthing I could but unable to proceed. Please help. Thanks.

    One more thing: Since I did not have Safari installed on my office computer on which I was facing the problem, I tried at home on my home computer using Safari which worked. So, I do not know if the problem was with web browser only. It is also possible that on my home computer, I might have had another version of Java and/or different settings.

  • Use checkboxes with drop down and submit button to pas values

    I have a form with six checkboxes, one drop down, and one submit button. I want the check box ON values to be appended to the hyperlinks stored in the drop down. The onclick event of the submit button sends the form results to a url with the checkbox values appended to the end of the hyperlink in the drop down. Need code please. Several programmers have bailed out on this when they got down to the event in the submit button. Can you Sun experts do better??? Here is the code for the form WITHOUT a properly programmed submit button and no javascript.
    <form name="jump">
    <select name="menu">
    <option value="http://www.whateversite.com/CP/View2Ref.php">Option 1 View 2 Test</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 2</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 3</option>
    <option value="http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20">option 4</option>
    </select>
    <input type="button" onClick="window.location.href=document.jump.menu.options[document.jump.menu.selectedIndex].value;
    " value="GO">
        <input type="checkbox" id="chkbx_TR_id1" name="TR" value="ON" alt="TRCheckbox" title="Search 1" tabindex="4">TR
        <input type="checkbox" id="chkbx_ES_id2" name="ES" value="ON" alt="ESCheckbox" title="Search 2" tabindex="4">ES
        <input type="checkbox" id="chkbx_NV_id3" name="NV" value="ON" alt="NVCheckbox" title="Search 3" tabindex="4">NV
        <input type="checkbox" id="chkbx_BT_id4" name="BT" value="ON" alt="BTCheckbox" title="Search 4" tabindex="4">BT
        <input type="checkbox" id="chkbx_SM_id5" name="SM" value="ON" alt="SMCheckbox" title="Search 5" tabindex="4">SM
        <input type="checkbox" id="chkbx_EN_id6" name="EN" value="ON" alt="ENCheckbox" title="Search Bible Encyclopedia" tabindex="4">ENThe resulting URL when the submit button is hit should be like this if all check boxes are checked.
    http://www.whateversite.com/CP/AllNew.php?BK=Tap&CH=10&VR=20&EN=ON&TR=ON&ES=ON&NV=ON&BT=ON&SM=ON&TR=ON"
    Thank you in advance for any replies.

    This forum is concerned with Java and not Javascript (they are not the same) . Though there are forum members who could help you on this you would probably do better to go to a Javascript forum.

  • The search box and non-US english characters?

    Anyone know how to make the search box work right with non-US characters? For example lets say I wanted to search for an U with an umlaut (Sütterlin). If I type the ü it gives me every word with a U in it.

    Same here.
    The icons are grayed out. And the search text box won't take a click.
    The rest of the app seems to function normally.
    Restarted. Trashed the prefs and caches. So far, still won't work.

  • Paramform=yes and submit button

    Hi all,
    I'm trying to deploy a new report from web (just want to put a link to that report)
    This report takes 2 parameters from user input, my link looks like that : http://myserver:myserverport/reports/rwservlet?server=myserver&report=myreport.rep&desformat=pdf&destype=cache&userid=xxx/xxx@xx&paramform=yes
    From that url I get a paramform with my 2 parameters which i fill in, then i click on the "submit query" button, but nothing happen, it just reload the same page and never display my reports which run fines when i put the parameter in the url.
    I've look in the reports queue manager and my report are show as executed successfully.
    Can anybody point me what i'm missing for my reports to be display when i click that button?
    I'm using Report Builder 9.0.4.0.33 , for the moment i'm trying to run the reports against an Windows 2000 IDS 9.0.4.1 OC4J instance, and will deploy it on an Redhat 3 ES IAS 9.0.4.2
    Thanks in advance.
    (sorry for my poor english)

    Arun, I am just learning my way around reports in the 10g world so take my suggestion with a grain of salt.
    Look at adding a "pfaction=" param to your report_others parameter on the report object. It might look something like this:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:block3.deptno||' pfaction=reports/rwservlet?_hidden_server=rep_server&report=my_report_name&paramform=no&destype=printer&desname=\\print_server\HPLaserJ4240n&desformat=pdf&userid=scott%2Ftiger%40oradev.world&p_1='||:block3.deptno);
    The sample I pasted above gives more params than you need but I think the pfaction param that is passed in the report_others param of the object basically tells the "Submit" button what to do. I also used a hard coded text string for most of the example where you would probably want to make it more dynamic.
    The rp2rro library can handle the encoding of characters to make it URL safe i.e. @ = %40, etc.
    See the document below for more details, it also has an encode function example:
    http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf

  • Reader Extension and Submit Button

    Hi,
    I reader extended a form with the Reader extension web application.
    The issue is when I start the process in the workspace and my form is open, the submit is not embed anymoe in the workspace.
    How could I fix that ?

    When a PDF Form is shown in Workspace, the LC server actually attempts to make a modification to the form (called "augmentation") in which a scripting bridge is added to the form. This happens inside the Render Service used to show the form. Workspace needs this to happen so that it can instruct Acrobat/Reader in the browser to hide the submit button, thus allowing the Workspace UI buttons to be used instead. I know that if the PDF Form is signed then LC will not attempt to make this modification in case it breaks the signature. This is what might be happening here because when you reader extend a PDF there is actually a signature applied.
    If this is the cause I can think of two suggestions off hand:
    - You might consider Reader Extending the Form on demand as part of your render service by uploading your Reader Extensions Credential (the p12 / .PFX file) to Trust Store and then using it with the Reader Extensions Service in a new version of your render service.
    - You can use LC Designer to add the "Form Bridge" to your form before you reader extend it with the web application and place it in your repository.

  • When I begin typing in the upper right search box, after a few letters are typed, a menu drops down with choices. When I click on a choice it doesn't appear in the search box and I have to type everything myself.

    When I use the search box on the upper right and begin to type a word/words when the menu of possible choices appears and I click on the one I want, nothing happens. It doesn't automatically put it into the box like it used to and I have to type everything out.

    Didn't work for me. Got the drop-down but still won't transfer to Google box.

  • Windows 10 9926 Bug Search field not allow text do not allow me to type anything in search box and wont allow to click start menu

    Seems everything else is fine.
    But I cant click the search box it just marks the Search the web and Windows  but wont allow me to type anything.
    And the same for the start menu if I click the windows icon in lower left corner nothing happens.
    Please someone help

    Hi,
    Generally speaking, this problem can be caused by system store componments lost or corrupt. Dism command below should be helpful to resolve this problem:
    DISM /Online /Cleanup-Image /RestoreHealth
    Roger Lu
    TechNet Community Support
    SFC /scannow & DISM are broken in 9926 they do not normally complete making things e en more difficult to diagnose.
    Wanikiya and Dyami--Team Zigzag

Maybe you are looking for

  • Qosmio x500 and media center - the mouse arrow disappears

    When opening media center the mouse arrow disappears and makes media center impossible to use, my computer is only a few weeks old and everything else works great Can anyone help ?

  • Sudden white screen

    When you are sitting and working, sudden all screens becomes white/colored and you need to restart the computer in order to solve the problem. Does any one knows any solution to this problem? It occurs once in a while....?

  • Transferring purchases from Itunes to my Ipod

    I purchased new music from Itunes. It is in my Library and will not transfer over to my Ipod. I did get a new computer that operates on Windows Vista. How can I get my old music and new music from my library to transfer onto my Ipod.

  • I have updated my iPad and now the screen glitches?

    Does anyone know why after updating my iPad (3rd generation) the screen now glitches, has black lines that go through or goes completely back before coming back on yet the sound still works while it is black. I have wiped my iPad and reset all settin

  • Partner Profile - WE20 Changes

    Hi all Can we identify the person who made the changes to the partner profile, We are having this as a major problem, someone is always changing the parameters of the partners which is impacting our bacth jobs,, so can any one help me how to identify