Is there a way to clear the default text in a form field onclick?

I am trying to add javascript to clear the default text in a form field using onclick?  Any idea?
Thanks!

Instead of entering any default text in the field, get rid of any scripting you currently have for the field and use the following custom Format script:
// Custom Format script
if (!event.value) event.value = "Your default text goes here.";
The string you specify here will be displayed when the field is blank, and the text that's entered in the fields otherwise. It will also go away when the field has the focus, which is what you want.

Similar Messages

  • Is there any way to specify the default version of LabVIEW?

    I have a sinking feeling that the answer to this question is "no."  With more than one version installed, is there any way to set the default LabVIEW version for opening a VI? I have both 7.1 and 8 installed, and usually only use 8 to open an example or look at something posted here.  When I do that, it resets all the OS hooks so that the default action for opening a VI is to open it in version 8.  I've even gone so far as to create actions to open files in 7.1 and 8, but it always resets my default action.
    I found this KB article for when version 7 came out, but it's suggestions don't seem to work with 7 and 8.
    Ugh. I hate it when software thinks it knows what I want better than I do.

    eaolson wrote:
    I have a sinking
    feeling that the answer to this question is "no."  With more than
    one version installed, is there any way to set the default LabVIEW
    version for opening a VI? I have both 7.1 and 8 installed, and usually
    only use 8 to open an example or look at something posted here. 
    When I do that, it resets all the OS hooks so that the default action
    for opening a VI is to open it in version 8.  I've even gone so
    far as to create actions to open files in 7.1 and 8, but it always
    resets my default action.
    I found this KB article for when version 7 came out, but it's suggestions don't seem to work with 7 and 8.
    Ugh. I hate it when software thinks it knows what I want better than I do.
    Add
    in the LabVIEW.ini file of those versions you do not want to rewrite
    the registry on startup to point to themselves for VI files, the
    following:
    RegisterExtensions=False
    Of course the VersionChooser utility mentioned earlier is even more convinient.
    Rolf Kalbermatter
    Message Edited by rolfk on 06-28-2006 08:21 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Is there any way to set the default for *.doc document so that Pages opens them automatically?

    I have a number of Ms Word documents because I used to have Word for Mac before the last OS release.  Now, of course, when I double-click on them, I get a message saying that PowerPC isn't supported.
    Now Pages will open these files.  Is there any way to change the default for *.doc files so that a double-click will open them in Pages? 
    (Instead of me going to the trouble of finding out where they are actually located on the hard drive so that I can open pages and say - here, open this file--even though you didn't create it--)

    Click on a .doc file and type Cmnd I to open Get Info. In the Open with: menu select Pages, then click on Change All…
    Walt

  • Is there a way to set the default level of keyframe easing?

    I'm currently using the graph editor to smooth my ease-in / ease-out keyframes with 100% influence.  I'm having to adjust the easing of each keyframe individually. 
    Is there a way to set the default level to 100%, so that I can just select "Easy Ease In" and have it apply without having to go into the graph editor?  It would save a lot of time.

    No, there's not a way to do that, but it's a good feature request. You can submit feature requests here:
    http://www.adobe.com/go/wish

  • Apple Mail, is there a way to change the default time-out?

    This has been puzzling me for some time and I have not found a solution. The problem which I also posted in the Mail forum (though I think that if there is a positive answer it will come through here) is as follows:
    I have an email account with on my company's mail server which is actually a Novell Netware server with a POP3 service. When using mail to send mail, I have no problems. When using mail to recieve mail, well, sometimes it gets the mail, and sometimes it does not. Usually, I can recieve mail for two or three weeks then it just stops working. No changes to my system, no updates or anything, I recieve email at one point in the day and then 15 minutes later - nothing. In the Activity Monitor, I see "Connecting to ..." then "Sending Password" then "Checking for Messages", then (after a while) it beeps as if it did not find any messages to download (no error!).
    Some weeks later, after suffering with webmail, suddenly, it works again. This usually coincides with maintenance on the server, but not always. It also seems to correspond with a general improvement of the server performance. But eventually, the cycle starts over again with mail suddenly not able to find any new messages for that account.
    I use dial-up at home, ethernet LAN at work, and DSL at our satellite offices. When it works on one it works on all. Also note that my other email accounts (not in any way connected to my company) work as they should at all times and in each setting.
    Is it possible that mail simply times out before the messages are discovered. The Novell server used for mail is by no means known for its performance. If so, is there anyway to change the default timeout in mail for "Checking for Messages"?
    Things I have tried:
    I have dumped the "MessageUidsAlreadyDownloaded" and "MessageUidsAlreadyDownloaded2" files to no avail.
    I have changed computers (I recently upgraded from a ti400), reinstalled the OS, upgraded from 10.2.8 to 10.3.x to 10.4.3, and removed and recreated the mail account (multiple times), all to no avail.
    Based on the above observations, I feel that it may be that "Mail's" "Get-mail" function is timing out before new messages are discovered on a very slow server. Is there any way to change the default time-out to evaluate this hypothesis?
    Any help would be appreciated.
    Kraig

    I already thought of that one.  I deleted my account from there.  But it didn't default to the other one.  It just told me I needed to add an account.  Thanks tho

  • Is there any way to change the default font for outgoing text-messages, in "Messages"? (OSX 10.10)

    Is there any way to change the default font for outgoing text-messages, in "Messages"?
    I can change it for one conversation, but then it resets to the default, tiny font.
    The preferences menu only lets me change the conversation font.
    (OSX 10.10)

    Hi,
    As you may remember there used to be a Messages pane to the Preferences where the Font and colour of the Balloons or background and the Font text colour could be changed.
    And there was a Format Menu for character, word and Sentence changes in the current IM or iMessage.
    Those have gone in Yosemite's version of Messages (Despite it retaining the designation of Messages 8 the same as Mavericks' version).
    All that can be done now is set the size of the font and this has been moved to the General Section of the Preferences.
    The Yosemite version has also been fixed to using the Balloons style of send and receiving any type of messages as well.
    Changing the Font would involved editing the Balloon.transcript file.
    10:34 pm      Saturday; December 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Is there a way to change the master text length in FCP? The default length is 10 seconds, which is too long. I can easily adjust the length but I don't want to do it each time, and I don't want to adjust one and then have to copy and paste this length.

    Is there a way to change the master text length in FCP? The default length is 10 seconds, which is too long. I can easily adjust the length but I don't want to do it each time, and I don't want to adjust a text clip and then have to copy and paste this each time. Ideally, there should be something in User Preferences but there is not. Thanks.

    Maybe some one else can pipe up with a solution, but this would literally take 2 seconds to do for a new project.  And you can create a "template project" that includes this "text" clip.  Save this project and then to a get info and check "stationary pad."  When you double click on this file, fcp will open with a copy of this project and you just need to do a save as. 
    I've been working with computer editing systems for longer than i can remember and at a certain point you just have to adapt your workflow to the limitations of the software.  

  • Is there a way to change the default angle for effects or a quick way of selecting 90 or 180 without typing in numbers?

    is there a way to change the default angle for effects or a quick way of selecting 90 or 180 without typing in numbers?

    The app developer chooses the alert sound, or provides a way for you to change it.

  • Is there a way to change the default print tray on an HP LaserJet 500 color M551 Printer

    Hi
    Is there a way to setup the default print tray for a HP LaserJet 500 color M551 printer to be tray 2 printing both online and direct?
    If so what would be the best way to go about implementing it?
    Thanks
    This question was solved.
    View Solution.

    Usually, you can change the default paper trays through the control panel and through the Embedded Web server (EWS).
    Check the settings on your control panel. Here is a link to the User Guide, check out page 94 and see if that helps you out.
    m551 User Guide
    For the EWS, put the printer IP address into your browser, then go to the tab that would list tray settings. Not sure exactly which tab has it for this printer series, but on other printer series it is on the system tab under paper setup.
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • Is there no way to update the "Default Lables" on all slides once I've changed it under the Preferences?

    Is there no way to update the "Default Lables" on all slides once I've changed it under the Preferences?
    I really don't want to recreate the slides from scratch again.

    What about File, Export, Text Captions...? You'll have a Word document with two columns. Translate the second column (much easier in Word) and import again. That is the normal work flow for translation. Same is possible with XML instead of Word.

  • Is there a way to clear the shell

    hi there,
    i am programming a game. since now i want to output the gameloop data with a shell.
    is there some way of clearing the shell?
    i would like to clear the shell and then output the data onto an emty shell?
    thx

    Why not just create another JFrame and add a JTextArea to that and then output all your game data there instead.
    Otherwise you'll need to possible send an escape code of some kind to the shell (depending on what terminal it is emulating) or simply output 25 (or more) empty lines.

  • Adobe Reader 11.0.07 defaults to duplex printing. Is there a way to set the default to leave that "print to both sides of the page" box unchecked?

    Adobe Reader 11.0.07 defaults to duplex printing. Is there a way to set the default to leave that "print to both sides of the page" box unchecked?
    I am working on an end-user's computer, I just updated to the newest Adobe Reader and they don't ever print duplex. I want to be able to have the "print to both sides" box unchecked on the print dialog by default. Is there a way to do this? I have the printer settings all set to 1-sided but it is adobe print dialog settings that keep messing it up.
    Thanks!

    Hi John,
    Have you tried repairing Reader and checked?
    Does this issue occur only on this machine or are you facing the issue with other computers as well which have updated to Reader 11.0.10?
    Regards,
    Anoop

  • Is there a way to change the default Save As location for Adobe Reader XI?

    Is there a way to change the default Save As location for Adobe Reader XI?

    kel-drago wrote:
    Can't be that difficult to arrange.
    No, it's not.  But someone has to request it: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Is there a way to change the default page attributes (font, margins, etc) in Pages or do I have to change them every time I open a new document?

    Is there a way to change the default page attributes (font, margins, etc) in Pages or do I have to change them every time I open a new document?

    I never even thought of that - Word woman that I was!  Thanks so much - I shall give it a go!!

  • Is there a way to set the default length of appointments/events to 1 hour?

    Is there a way to set the default length of appointments/events to 1 hour?

    No, there's not a way to do that, but it's a good feature request. You can submit feature requests here:
    http://www.adobe.com/go/wish

Maybe you are looking for