Gray help text in the text box

Nice day!  I've looked everywhere and have not found a solution and would be very grateful for the help.

I am working on a form with of many drop-down menus and boxes of text for users to fill out.  I am eager to have the gray help text will appear in the boxes by default, and then the text disappear when the user clicks or tabs inside.  This format is very common on Web sites and would work very well with what I'm doing.

At this point, I'm a cut and paste Javascripter.  However, mainly through this forum, I was able to create some pretty cool things, and I'm looking forward to learn more.

Any help would be appreciated!  Thank you very much want to and have a great day!

Software: Adobe Acrobat Pro XI

Set the text that you want to use as default for the field and then adding these scripts:

Action on Focus:

If {(event.target.value is event.target.defaultValue)

Event.Target.Value = "";

event.target.textColor = color.black;

}

Action on the blur:

If (event.target.value =="") {}

Event.Target.Value = event.target.defaultValue;

event.target.textColor = color.ltGray;

}

Tags: Acrobat

Similar Questions

  • Problem of gray help text italic

    I'm trying to confirm that the script below is correct. It is used to create a grey italic text help in an area that is null. Sometimes, police of the legend changes in italics instead of stay 'normal '. Is the line of script in red below correct or does: this.caption.font.posture = 'normal '; (without the .value)?

    Form1.Subform1.ReviewDate::Initialize - (JavaScript, client)
    this.execEvent ("exit");
    This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";

    Form1.Subform1.ReviewDate::Enter - (JavaScript, client)
    this.fontColor = "0,0,0";
    This.font.posture = "normal";

    Form1.Subform1.ReviewDate::exit - (JavaScript, client)
    If (this.isNull)
    {
    this.fontColor = "153,153,153";
    This.Caption.font.Fill.Color.Value = "0,0,0";
    This.Caption.font.posture.Value = 'normal '.
    This.font.posture = "italic";
    }

    Form1.Subform1.ReviewDate::prePrint - (JavaScript, client)
    This.format.Picture.Value = "";

    Form1.Subform1.ReviewDate::postPrint - (JavaScript, client)
    This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";

    Thanks for any help you can offer.

    Hello

    You don't need the 'value' here, in the view XML Source will look like your caption for field, something like;

    Text field

    You can see that the color is an element with a value attribute and posture is only an attribute (so does not have a value property)

    Concerning

    Bruce

  • Lost the power meter of my office - and it is therefore more 'selectable' inside the 'Settings' box of Notifications. Its information line shows currently in gray (unselectable) text instead of the text in black (of your choice).

    I lost the power meter of my office - this little icon that shows when your laptop is plugged in the current House, and where your battery level is when you're not connected to the power of the House

    The problem I found is that it does not appear in mode 'selection' in the 'Settings' box of Notifications.
    Its information line currently shows the text in gray (unselectable) color rather than black (selectable).

    For unknown reasons, the tutorial of vistax64 does not help, so I don't see why not, there is another way...

    Do a system restore. Choose the date where all the icons in the taskbar were present and functional as your restore point.

    Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, until the click > next > finish
    To sit and wait. The machine restarts when it's done.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Why the box text properties gray out when you try to change the size of the text box?

    The box that I refer figure below as "Properties". For some reason, I can't get the new properties text box (usually black and more modern looking pop up at all). He comes and goes at random times.

    Adobe issue_20160719.PNG

    Hello

    We have released an update today which solves the problem of the properties toolbar and now you can continue to use it outside of the app commenting as well. Please open Acrobat or Reader DC and visit help > check for updates to ensure that you are on the latest patch.

    Details on the release: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-august-02-2016.html

    Please let us know how it goes.

    Thank you

    -ashu

  • Failed to create a 3D text (or 3D nothing else) all options in the 3D Panel are grayed out. With the help of CC 2015.1.2 on Mac Pro

    Failed to create a 3D text (or 3D nothing else) all options in the 3D Panel are grayed out. With the help of CC 2015.1.2 on Mac Pro (end 2013)

    Thanks for the update.

    Go to the Photoshop preferences > 3D > check whether it shows VRAM than 3072 MB

    Look for the system updates and see if there are updates waiting for your graphics card drivers.

    And make sure that the document you are opening is in RGB and CMYK mode not.

  • Not able to be seen on top of an image with no text wrapping, prepared text box to be on the top, on the top layer and works fine with all other images with text is near or above the image in this document, PLEASE HELP

    I have an InDesign Document with a handful of images and text on the top or near the images. This should be so simple, but for some reason, I keep having this problem. There is no build-up on the given word and I can't place any text on one of the images. All the settings for all of the images in this scenario are the same. I'm fine with everything else but this one...

    I don't see any boxes hidden or anything else for that matter. I've recreated text boxes and still have the same problem it appears then disappears or I can get only part of the Word visible on the image, then a + sign comes... It should work please help. I tried to recrete this particular image and word a handful of times its just not the text box woking sometimes added a sign which does no sense, I tried a different text alignment so +... Yes indeed HELP Please thank you I can send a screen if it helps

    Have you tried select the text block, and then go to object > text frame Options and checking the checkbox ignore text dressed ?

  • Changing the cursor for a helping hand in the text and you cannot change the sentence or paragraphs in boxes to listen audio mode

    In Acrobat Reader if you're going to see menu and scroll all the way to ' Read out Loud ' and activate it, you can listen to the texts.  And you can also take the blinking cursor and click on the sentence or paragraph and a box turns around the sentence or paragraph and reads within the selected text.  But in Acrobat DC the cursor flashing in the text box has changed to a f * k * g hand grabber and you stop to select whatever it is!  How can we change back the hand f * k * grabber g in a cursor blinking so I can choose the text I want to listen or to highlight or mark?  Can someone help me on this?

    Hi dales45194090,

    You can change the options to use Select or hand tool under Edit > Preferences > General

    Also, if you have selected "use keys.. accelerators" option, then you can simply press V as the shortcut key for the selection tool.

    Kind regards

    Ana Maria

  • Need help with the "stationary" text box

    Hola

    Why the "stationary" text box do not appear in this page? Welcome to TummyTime, 4 d 3D Ultrasound, Salida, Modesto, Ceres, Turlock area.

    The text of "stationary" should appear as you go over the photos at the bottom of the page in the ANGELS RECENT section.

    As see you in this page (under the heading 'Our projects'):model HOME - Arctic

    the "stationary" text box appear as you go "on" image, but in "my" page is not.

    Now, when I have "preview" in my computer, I can see the "text box" appear but when I download, it just does not work.

    Can you please check it out and help me with this you problem?

    Thank you.

    OK, now is fix.
    The problem is in a js.scripts, was a syntax error, and I stop the script of twitter to watch.
    It is therefore fix :-)

    A big thank you to you all.

    Saludos

  • Gray out or disable the text box

    Hello

    I have a drop-down list called CN_Entry_Initials with options of a "C" or a "N". I also called Part_Number to enter a part number in a text box. I want the text box part number be grayed out or disabled until a "C" or an "N" was chosen out of the CN_Entry_Initials of the menu drop down. I have this operation, except that I can't add it to almost anything. I think it's something to do with the way in which I have if statement for this disabled text box, or do I have to change the touch of a button "submit it". Does anyone know how to fix this? Below is the javascript and the drop down menu code menu and the text of the box as well as to add it or submit button. There are additional stuff in Javascript I have on the page, but I don't need to worry about those things because they do not work properly. I have the code text box disabled in the upper part of the javascript in the verify() function code. Thank you.

    < SCRIPT LANGUAGE = "JavaScript" >

    <!-original: Wayne Nolting ([email protected])->

    <!-this script and many more are available free online to->

    <!-begin

    verify() function

    {

    If (document.getElementById('CN_Entry_Initials').value is 'C'

    || document.getElementById('CN_Entry_Initials').value == "N")

    document.getElementById('Part_Number').disabled = false;

    on the other

    document.getElementById('Part_Number').disabled = true;

    }

    {

    var PartNum = document. AddECNumber.Part_Number.value;

    var regularExpression = new RegExp(/[cC][0-9]/); regular expression to search for a letter C followed by a number

    If (RegularExpression.test (partnum) & & document.) AddECNumber.CN_Entry_Initials.value == "N" & & document. AddECNumber.Validation_Qty.value == "") {//this returns true if the entry passes the regular expression

    Alert ('enter an amount of Validation for this new custom');

    }

    Another yew (document. AddECNumber.CN_Entry_Initials.value == "N" & & document. AddECNumber.P_Drive_Docs_Initials.value == 'i') {//this returns true if the entry passes the regular expression

    Alert ("you cannot select 'i' for the docs to remove for a new game");

    }

    Another yew (document. AddECNumber.CN_Entry_Initials.value == "" & & document. AddECNumber.SW_Model_Only.value == '0') {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - ew Select (N) or (C) Hanger for eco topic');

    }

    Another yew (document. AddECNumber.PNR_BOM_Change_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value! = 'C' & & (document). AddECNumber.Release_Status_Initials.value == "U".

    || document. AddECNumber.Release_Status_Initials.value == "N")) {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - select C Hanger for eco section and select N release status if PNR/BOM change only is Yes");

    }

    Another yew (document. AddECNumber.PNR_BOM_Change_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value == 'C' & & document. AddECNumber.Release_Status_Initials.value == 'U') {//this returns true if the entry passes the regular expression

    Alert ("ECO type required - select C Hanger for eco section and select N release status if PNR/BOM change only is Yes");

    }

    Another yew (document. AddECNumber.Doc_Changes_Only.value == '1' & & document. AddECNumber.CN_Entry_Initials.value! = 'C') {//this returns true if the entry passes the regular expression

    Alert ("ECO" type required - Select (C) Hanger for eco section Doc changes only being Yes');

    }

    <!-ElseIf (text). AddECNumber.P_Drive_Docs_Initials.value is 'i')

    'Eco_search.cfm' = Self.Location; ->

    on the other

    {

    document. AddECNumber.submit ();

    }

    }

    -> End

    < /script >

    < name cfform = "AddECNumber" action = "add_new_ec_number_action.cfm" method = "post" > "

    < b >

    < class td = "├editer" align = "right" > change or new entry: < table >

    < td >

    < select name = "CN_Entry_Initials" id = "CN_Entry_Initials" onchange = "verify (); ">

    < option value = "" > select < / option >

    <! - FILL the BOX WITH P_Drive_Docs_Initials FIELDS - >

    < CFOUTPUT QUERY = "ShowCNEntryInitials" >

    < option value = "#CN_Entry_Initials #" > #CN_Entry_Initials #.

    < / CFOUTPUT >

    < / select >

    < table >

    < /tr >

    < b >

    < class td = "├editer" align = "right" valign = "middle" > part number: < br > < h6 > (25 characters limit) < / h6 > < table >

    < td > < input type = "text" name = "Part_Number" id = "Part_Number" maxlength = "25" size = "27" disabled = "disabled" > < table >

    < td > < textarea name = cols "Description" = "30" rows = "3" > < / textarea > < table >

    < /tr >

    < input type = "button" value = "Add" onclick = "verify (); ">

    < / cfform >

    Thank you.

    Andy


    Seems that the braces "{" Javascript function are incorrect, the audit function performs only the feature of toggling the Part_Number text box which is the reason why the alert function worked when you added it in here.

    What you can do is to create a separate function which just active / disable the Part_Number text box and add it to the onchange event of the area of selection.

  • Help, DG filtering using the combobox controls and the text box

    I have a DG populated an arrayCollection collection. I have a text input where I can type in my search criteria to filter the DG. I also have a combo box that contains a list of all the columns in my DG, so I can determine what column to apply the filter.

    I was able to make a filter text on a DG in the past, if I use a static data in my arraycollection collection name, but this time I want it to be dynamic using the drop-down list box.
    Here is an example of my configuration:
    DG contains columns A, B, C, D and E. The drop-down list box contains the choices A, B, C, D and E - including the label and the value of the data are the same in this case. If I select choices from the drop-down list box and start typing in my text entry, the DG should start to filter according to my entry that is contrary to the values of column D.

    Here's my code work for static column D filtering:
    private function filterColumn (): void {}
    sFilter = TextFilter.text;
    myAC.filterFunction = doFilter;
    myAC.refresh ();
    }
    private void doFilter(obj:Object):Boolean {}
    var result: Boolean = false;
    If (! obj.) D.Length | obj. D.toUpperCase () .indexOf (sFilter.toUpperCase ()) > = 0) {}
    result = true;
    }
    return the result;
    }

    This code will allow me to type in text and it will only filter the D column. The value of the combo box has no importance at this stage.

    I need the code to make what use the value combobox.selectedItem.data instead of D. However when I try this, he told me - TypeError: Error #1123: filter operator is not compatible with the Object type

    Using most of the above code, I just changed the IF statement to:
    If (! obj.) (cbx.selectedItem.data) .length | obj. ((cbx.selectedItem.data) .toUpperCase () .indexOf (sFilter.toUpperCase ()) > = 0)
    And which generates the above error.

    Can someone help me find a way to replace by a static column for the dynamic combobox value value? Any help is appreciated.

    I thought about it.

    If (! obj [cbx.selectedItem.data] .length: obj [cbx.selectedItem.data] .toUpperCase () .indexOf (sFilter.toUpperCase ()) > = 0)

    For anyone who wants to try it.

  • Help with a script that converts the HTML object text box

    I don't know anything about programming scripts and unfortunately inDesign isn't any panel actions as Photoshop..

    I need a script to convert a text box with HTML code inside a HTML object... I think not, it should be very difficult

    How could be the following:

    (1) select the text box
    (2) cut all text inside
    (3) remove the empty box
    (4) select selection tool
    (5) go to OBJECT/INSERT HTML
    6) paste it into the code before you cut the text box
    (7) OK and close the menu INSERT HTML code

    If the Script works, we could change with HTML code inside a text box to an object HTML (video, card, animations,...)

    The first step could be manually selecting each text box or by selecting all of the boxes that start automatically by "< iFRAME '

    1000 thanks

    Remember that you can not get an answer it if you don't show any attempt of your choice.

    FWIW

    Loïc

  • Dialog box options Type does not allow me to resize the text box, please help!

    Hello - I use the latest version of Adobe Illustrator CC on Windows 7. I need to make a text box with columns to 32.875 w x 20 h. I use the text tool, draw the box at that size and then open the "type area options" dialog box to specify the column number, gutter width etc. and it automatically resizes the text to 13.888 box w x 13,889 h without fault. I try to type the right width and height in the appropriate space and I hear the windows "error". When I click on 'Preview' show me the box of text resized to 13.888x13.999 so I don't see what I'm doing. It's infuriating, please, someone else had this problem?

    I checked the window of 'transformation' - and the 'blocking' to constrain the proportion of width and height is "unlocked."

    I has a limit to the width of the columns that you have found. For the size that you want, you will need to do it manually.

  • HELP: How to create the link via text boxes

    I am trying to create a text through the comments toolbar box and set a link to a page in the same pdf. Using the Connector tool does not show an option to create a link to a text box or in the text created through the typewriter tool. I'm using Acrobat 9 Pro. Thank you

    An action to go to another page in the document can be attached only to a form or a link object field. When you add text using the typewriter tool that you add an annotation, which cannot do.

  • The text color will appear washed out when written in the text boxes. Help?

    As you can see in the first picture, the color of my text becomes faded as it moves to the next text box. I got the color of real black text of the text on the left by copying and pasting my text at random (do not paste in a text box). It seems that when the text is placed in a text box (as seen in the 2nd and 3rd images), it automatically searches faded.

    What I'm doing wrong here?

    Adobe Support Question - Pic 1.PNG

    Adobe Support Question - Pic 2.PNG
    Adobe Support Question - Pic 3.PNG

    I suspect that you have selected the text box and applied transparency as well as the image.

  • The text box help referencing

    OK so I have a simple quiz that I worked on where I'm asking the user to enter there name in a text box on the first slide to begin the test.  I will reference the name that they typed in after performing the test on the results page.  I have a problem I'm running into is the defalt quiz does not seem that the results page allow you the ablity to add any new fields.  I would really like to have a message to display on the results page that says something like "Thank you {NAME OF PERSON TAKING TEST} your results are lower."  Does anyone know how to do this?  Using Captivate 7.

    Thread is marked unanswered yet? More problems?

Maybe you are looking for