Ghost text is changing the caption to gray italics

I'm using this script:
form1.page17.table1.Table7.Row3.DateField6[0]::enter - (JavaScript, client)
this.fontColor = "0,0,0";
this.font.posture = "normal";
form1.page17.table1.Table7.Row3.DateField6[0]::exit - (JavaScript, client)
if (this.isNull)
  this.fontColor = "153,153,153"; // a gray colour
  this.font.posture = "italic";
form1.page17.table1.Table7.Row3.DateField6[0]::prePrint - (JavaScript, client)
this.format.picture.value = "";
form1.page17.table1.Table7.Row3.DateField6[0]::postPrint - (JavaScript, client)
this.format.picture.value = "";
form1.page17.table1.Table7.Row3.DateField6[0]::ready:form - (JavaScript, client)
this.execEvent("exit");
this.format.picture.value = "null{'" + this.assist.toolTip.value + "'}";
That I gratefully found at this blog: Adding Ghost Text to LiveCycle Designer forms on the adobe.cookbooks.com web site.
I can get the ghost text to work just fine, however when I just used it in a TextField, it changes the caption to the gray italic text. What is causing this and how do I correct?
Thanks,
MDawn

Hi Margaret,
Sorry about that, mouslander is right the line "this.caption.font.posture.value = "normal";" should have been "this.caption.font.posture = "normal";" without the .value bit
If you want to do this in Designer, you can with the Font palette.
Click the little arrow and update the Value to italic and the 40% gray (153,153,153) and set the caption to black, normal.
Regards
Bruce

Similar Messages

  • Can we translate in captivate 7? I Have tried and changed the Caption and Notes. Can we change the on screen text of te normal slides, interactive call out boxes, screen recording slides and quizzes? If yes, please let me know the process.

    Can we translate in captivate 7? I Have tried and changed the Caption and Notes. Can we change the on screen text of te normal slides, interactive call out boxes, screen recording slides and quizzes? If yes, please let me know the process.

    Of course! Here ya go
    For the record, I did create a new project with only two slides to try and duplicate the issue. I had the same problem. I unchecked the Mouse Click Sound check box, republished and the slide auto advanced. I'm wondering if a default sound file was somehow moved or deleted? I discussed uninstalling and reinstalling C7 onto my laptop, but that's a frustrating solution haha

  • How to change the caption of a field with a button?

    I have serious trouble, don't know why, in order to change the caption of a field.
    I can't do it with a button as in any other way...dropdown list, ecc...
    Assumes that we have a button and "on click" i want to change the caption of a numeric or text field.
    form1.ppp.Button1::click - (FormCalc, client)
    NumericField1.caption.value.text.value = "whatever you want to set it to";
    TextField1.caption.value.text.value = "whatever you want to set it to";
    xfa.form.form1.ppp.NumericField1.rawValue = xfa.form.form1.ppp.NumericField1.rawValue + 1;
    The numerical value inside the numericalfield1 is increased each click...but the caption still the same.
    Why this happen?
    I check many threads on this forum and on google and i still find these samples...
    please help.
    Thank you

    Yes, it is. Also in preview i checked "dynamic XML". is it right?
    i try to download this sample while searching in the forum to solve my problem
    https://acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q
    i try to add to that form my code and it's work!! i can't undersand why...
    Below you can find my PDF...i can't understand why here the same code doesn't work
    http://www.hsc350.it/download/Untitled2.pdf
    Thank you again!

  • Change the caption property to TextField

    Hi
    I have a TextField
    I need to change the value of it Caption Property in Run Time
    Who is that?
    Thanks all

    You can do this using some simple JavaScript or FormCalc script on an event.
    Let's say you wanted to change the caption of a field at the click of a button. You could use the following JavaScript on the button's Click event:
    TextField1.caption.value.resolveNode("#text").value = "test";
    You could also use the following FormCalc script:
    TextField1.caption.value.#text = "test"
    I've attached a sample form which has a button and a text field on it. Clicking on the button will change the text field's caption to "test".
    Stefan
    Adobe Systems

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • Can I change the captions font?

    Is it possible to change the captions font in PSE5? Also, is it possible to change the location of where the caption prints on photos? If so, how is this done?

    > In the User Guide it is in Chapter 8, Managing files and catalogs. The section heading is "Adding captions and notes."
    Yes those are Creations - I believe that one is a slide show and the other is a calendar.
    When doing the PRINT (click on printer icon), then choosing Individual as the type of print and checking Caption in the options, I believe that the only choice is to have the caption printed below and to the left of the photo.
    Are you using the entire page of paper after you print or are you cutting out prints - like multiple 4x6 prints from one piece of paper?
    If you are using the entire page of paper, then try this - start with CREATE and then choose PHOTO LAYOUT and pick a simple layout with no background. After the layout contents display you will have the ability to place the text wherever you wish ON the photo as well as change the color and the font.
    You will be working in the Editor workspace for the Photo Layout and if you have never used the Elements Text Tool it may seem a little strange at first.
    Now with this photo layout you can do more complex backgrounds and embellishments. However if you do not choose any background when you start the photo layout, it will look similar to doing a Print.
    So I suggest that you look at the Photo Layout function and see if it looks like it will be beneficial for you.

  • How do i change the background to gray behind my image

    how do i change the background to gray behind my image

    If your image and background are on separate layers, activate the background layer and go to Edit > Fill, select the desired gray and click OK.

  • Chnage in Header text when changing the customer

    Dear Experts,
    When i change the customer in sales quotation all the text in header text fields remove. i want to retain this text while change the customer. Can anybody help me who can i retain the Header Text when i change the customer.
    Best regards,

    Hi,
    Even it is the document text which is maintained by you in quotation,will be changed if you change the sold-to-party.
    The text that is maintained either at the Header level or at the item level will be changed if you change the sold-to-party.
    It is the standard setting in SAP.
    Because Sold-to-party is the key field which controls the whole document.So if you change the sold-to-party means every thing will be redetermined.So that the text will be changed.
    For maintaining the text as not changeable,in standard there is no setting.I think with ABAP coding it may be possible.
    Ask you ABAPer to check whether there is any thing that will be used to check this text.
    Regards,
    Krishna.

  • Highlighting the text by changing the "character fill color" with double-spacing?

    Highlighting the text by changing the "character fill color" doesn't seem to go well with double-spacing.
    Has anyone been aware of this issue?
    Try double-spacing the text you highlighted. What's up with this?
    This is so annoying and frustrating. I've been trying to do both of them for like 2-3 hours.
    You CAN do both, of course, but if you double-space the highlighted text, it just creates this huge highlighted part (it highlights the space between the two lines!) below the actual text.
    Anyone help me pleeeeeeeease.

    In Pages v5.2.2, taking Baskerville Regular 12 pt, and double-spacing it with character fill color does produce a nasty effect. With View > Show Rulers, I looked where the lines of text lined up on the vertical scale.
    Then I changed the Spacing selector from Lines to Between. Now, just the text had the character fill color, but the line height had increased visually downward. With the between setting, line height is changed to points, and indicates 27 pt. If you adjust this value to 16 pt, the second line of double-spacing will realign with where it was before the between change, while retaining discrete line character fill color.
    Before: Spacing set to Lines, and 2.0 - Double.
    After: Spacing set to Between, and 16 pt

  • How can I change the caption of a text field using data?

    Hi, I've read that this is possible to do but when you have an xsd file, I'm using a preview xml data file, so there is no way to link them together, any ideas?.
    Thanks!.

    1) In Designer, Tools>Options
    2) Select Data Binding in the left pane and make sure Show Dynamic Properties is checked
    3) Select the field that you want the caption to be driven by XML
    4) In the Object palette under the Field tab you'll notice Caption is now green and underlined, click it.
    5) If your form is bound to a schema you can see the hierachy when you press the button beside the binding entry field or in your case to access the Caption attribute in your XML type> $.textField1.Caption
    Assuming '$' is your root node.
    Kyle

  • How do I change the default color (gray) that 'Edit - Find' uses?

    When I search for a key word in a PDF file viewed in Safari web page using Edit -> Find 
    It defaults to highlighting the text it finds in light gray which is very hard to see. I would like to change the highlight color to something much easier to see on the page - like red for instance.

    What version of Pages & what version of OS X are you using?
    A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
    If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • How to change the caption in data entry selection screen??

    using cats0009 i populated the data into wbs desc and a/a desc but
    but i am not able to change the name(caption of additioanl field) as 'wbs description'. and A/A desciption.
    can anyone please help me out how to do this...

    You don't mean selection text do you? Can you be more specific?

  • Change the caption of a TextField with JavaScript

    Hi,
    I'm working on an multi language form with the Livecycle Designer 8.2.
    My form includes a couple of Text fields with captions in English. I've implemented a button to change the language of the captions into French through a "click" JavaScript Event.
    But I'm still not able to perform the caption language change with my code:
    Myform.multilang.bt_english::click - (JavaScript, client)
    xfa.resolveNode("tf_site.caption.value.#text").value = "French Caption";
    Has there anybody an hint for me?

    Is you form a dynamic or static PDF? Ensure that it is dynamic.

  • How do i replace text without changing the format?

    also, how do i replace a photo with a new one?

    If the text is live, you can double click on the thumbnail and it will select the text. At that point you can type in the new text.
    As for the photo, that depends on the document. It can be as simple as closing the document and opening the next image.
    If the image is on its own layer, you could just delete the layer or if you want to preserve the style asociated with it, you could use selection tools and delete the image, then place or paste the new image in its place.
    If it is part of a collage, you may want to convert the image(s) to a smart object. Then in the layers submenu, you can choose to replace the image.
    The advantage of the smart object is it will remember the scale of the image.

  • I changed the captions for my family photos to include names, but when I exported the photos to make DVD's for family members, the old captions were there and not the new ones. How can I make a DVD to include the new captions with names?

    I have labeled old family photos with names that I would like to share at a family reunion via DVD. When I export the photos to make the DVD, the old photo labels are back rather than the new labels with names. Can I export the photos with the new titles?

    iPhoto shows you these Titles but the Finder shows you Filenames
    If you export (File -> Export) you'll get the Export dialogue. Note the option at FileName to use the Title as filename for the exported photo

Maybe you are looking for