bottom border only dynamic color change

I have a text box in a form that has the bottom border shown.  This box is turned on and off programmatically (using a function) function to know if some other boxes are checked.  When the text box is active, it has the value of access = 'open' and I want the bottom border to change from gray to black.

I have what I believe, is functioning code to generally change the color of a border, shown below:

function

 ULineTBoxOn(MySubformNum,MyFieldRef){eval(MyFieldRef 

+ ".access = 'open';");
eval("xfa.resolveNode('form1.#subform[" 
+ MySubformNum + "]." + MyFieldRef + ".ui.#textEdit.border.edge.color').value = '" + BlackCode.value + "';");
}


But this does nothing to my particular text box.  I made a text where I've activated all of my text box borders and then ran the above function on this text box, and it changed the color of the top border.

I see in the XML code in the text box properties for each boundary edge are defined at once, with the bottom third, as shown below:

< name of field = "Docket_Year" y = "90,17 mm" x = "147,3198 mm" l = h '13,4239 mm""6.35 mm"access ="readOnly"= >

< ui >

< hScrollPolicy textEdit 'off' = >

< border >

< m presence = "hidden" / >

< m presence = "hidden" / >

< edge / >

< m presence = "hidden" / >

<? templateDesigner styleId aped1? > < / border >

< margin / >

< / textEdit >

< image > 99 < / image >

< /UI >

What seems to happen when I run my function above, is that I only change the color of the FIRST referenced in the XML file, which is the part superior (?).  Or something like that.  How to change the color of the LOWER edge only?

Thank you
Emily

Hi Emily,.

Once you have assigned to your variable and it passed to your function - you can solve it within the function, then the following works here:

MyResFieldRef.ui.oneOfChild.border.getElement("edge",2).color.value = fieldFocus.value;

Your script to access "#textEdit" - try "oneOfChild".

Example updated work on the text field and the digital field.

Hope you find it works,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • CSS Display table with the bottom border only

    Hi all
    I'm very bad in CSS, I seriously need a style.

    I want the table with the bottom border only

    I tried like
    < table frame = "below" cellpadding = "2px" cellspacing = "0" style = "overflow: scroll;" empty-cells: show; border: 1px solid #285577; "width ="350px"> ';

    but frame = 'below' does not work with IE - 7

    Please could give me a solution.

    Thanks in advance
    Good bye
    Sonny_starck

    Sonny_starck,

    I don't know what kind of table you need exactly but

    < table style = "" border-bottom: 1px solid #285577; ">"

    should do the job.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Bottom border only?

    Is there a way to create objects with only border-bottom-width value 0px 1px and other or have different colors?

    Control individual traits aside is not yet implemented, but there is a feature on this subject hererequest. Feel free to vote and reinforce this idea.

    Thank you

    Mihai

  • border drop-down color change on entry/exit event

    Hello

    I'm drop-down list to change the border color and thickness on entry/exit events. I found this script written by Niall O'Donovan, who works for text and numeric fields, but not for a list drop-down and chackbox.

    Could someone please adjust this script for a drop down list?

    Come in:

    VNAME var = this.name.toString ();

    xfa.resolveNode (VNAME + ".") ui.textEdit.border.edge") .stroke ="solid";

    for (var i = 0; i < 4; i ++) {}

    this.ui.oneOfChild.border.getElement("edge",i).color.value = "255,153,0"; orange tint

    xfa.resolveNode(vName_+_".ui.textEdit.border").getElement ("edge", I) .thickness = "0,0200" in

    }

    output:

    VNAME var = this.name.toString ();

    for (var i = 0; i < 4; i ++) {}

    xfa.resolveNode(vName_+_".ui.textEdit.border").getElement ("edge", I) .thickness = "0,0069" in

    }

    xfa.resolveNode (VNAME + ".") ui.textEdit.border.edge") .stroke is"lowered";.

    Thank you

    Marko

    Hi Marion

    The script you should to a TextField (textEdit, for example).

    In the examples I give, there is a list of properties .ui that you can use for different objects:

    For example:

    Date field =      #dateTimeEdit
    Dropdown =      #choiceList
    Checkbox =      #checkButton
    Text field =      #textEdit
    Numeric field =     #numericEdit
    

    If you have a look at the examples on page 2 of this example: http://assure.ly/gzOH0E.

    So for the drop-down list to replace "#textEdit" by "#choiceList" AND use "#checkBox" for the checkbox.

    Hope that helps,

    Niall

  • Taskbar of color change for Win 7 Premium without WDDM.

    Hello world!

    I'm looking for some help to change the color of the taskbar of Windows 7 at the bottom of the screen. I have a 6 year old laptop and recently bought a copy of Windows 7 Home Premium for it. I know that my phone does not support Aero because Intel has decided not to WDDM to Intel 915GM chipset drivers there.

    All I want to do is change the horrible blue color of the taskbar! I can't believe that Microsoft helped this color! So despite its Home Premium, I can only use the Windows 7 Basic theme, that I knew and I'm happy with. I tried to change the color of the taskbar through customization, but can't seem to change-I presume that these color settings are intended for Aero users. So my question is are there third-party applications that will help me to change the color. I am satisfied with the color of the Start Menu and the colors of the Windows Explorer, it's just the taskbar.

    I tried a program called VistaGlazz, which worked, but the taskbar kept back to Windows 7 Basic. I tried a program called AeroTuner, but could not make it work. I know StarDock have applications that allow you to change many things, but I just want something simple to change the color of the taskbar.

    This is the theme that I am currently getting: http://www.mywindowsclub.com/attachments/Resources/3894-291523-Windows-7-basic.jpg

    Anyone has any ideas please?

    Thank you very much!

    Alicia.

    No luck on the registry tweak: when you are not using Aero, the taskbar (and all the elements on the screen) are skinned with a bitmap, rather than generating the value of color.  The only way to change the color is to hack into the files of the OS and replace this chart by a different color.  There are ways to do it, but it certainly is not supported.

  • In Photoshop CS6 Hue Saturation does not work with forground/background jitter set to 100%, that no color change is found. Help

    In Photoshop CS6 Hue Saturation does not work with forground/background jitter set to 100%, that no color change is found. I've added a screen Shot the brush settings and a demonstration of what produced the brush.

    I also noticed that when I make a model of a single color, when I fill a selection with the pattern, I get a rainbow of different colors.

    I use a 64-bit version of Photoshop CS6 masters Collection

    I'm on a PC equipped with an Intel Core i7 1366 4 physical cores and 8 wires, 24 GB of DDR memory, A Crucial 512 GB SSD and a NVIDIA GTX 570 with 2 GB of memory.

    The size of the document is 2100 x 1500 pixels in only two layers of 300 PPIBrush Settings.png

    For the issuance of the brush, see apply a Tip in the dynamics of color and see if that makes a difference.

    more information

    Dynamic color in Photoshop CS6 "Julieanne Kost's Blog

    https://helpx.Adobe.com/Photoshop/using/adding-dynamic-elements-brushes.html

    With regard to the model, if your use Edit > model fill, make sure you have not verified Scripted Patterns

    (this parameter is also the Paint Bucket tool in photoshop cs6)

    more on scripted models

    https://tinytutorials.WordPress.com/2014/07/25/Photoshop-CS6-CC-scripted-patterns-fills/

  • need help to use dynamic colors

    I have a drawing that is only two colors, black and white. The document itself is set up in CMYK. All I want to do is change the black to pale pink. I know Live Color is the way to do it, but I've never used before live color dialog box and find intuitive. I read in the help files, how to replace one color with another, but I can't figure out how to actually do. Can someone tell me please a tutorial of dynamic colors starting really simple, who will help me to replace black with Rose?

    Thank you very much.

    There is a column called current color next to it is the new color click o the new color and it will give you the color picker slect a new color and click OK.

    then there's the swatch Panel icon, click on it to see the shades of color libraries to convert your current color to this library.

    Here's a movie:

    http://mysite.Verizon.NET/wzphoto/colors.mov

  • Background color changes when you save a theme

    Just did a new install of Windows 7 Home Premium and has found that, when I save a theme, the background color changes from black (what it was worth) to white. Another thing to note is that when I save the generic theme "Custom Theme" (meaning an unsaved theme) remains, and the background color in the registered theme is changed and does not change when I click on the "custom theme". This is a new installation, so the only software that has been installed is video drivers, network cards drivers, the drivers of the antivirus and sounds. I've used the System File Checker, and he found no problem.

    Hello

    I recommend that you follow the steps from the link below and check if it helps.

    Create a theme

    http://Windows.Microsoft.com/en-us/Windows7/create-a-theme

    Hope this information helps.

  • How can I do for the color changes, when I leave the mouse over it?

    Hello.

    When I press one of the menu buttons, changes color to gray it gray. How to change that, because I would miss, that only the script changes to green.

    Hello

    The following links may be useful:

    Create rollover with the widget button States effects | Adobe Muse CC tutorials

    https://helpx.Adobe.com/Muse/using/assigning-States-objects.html

    https://www.YouTube.com/watch?v=F2IiQa-12H0

    Concerning

    Sonam

  • How border only a few cels table

    In dreamweaver, how can I border cells only some selected in a table, (I'll do this several times in a particular table).

    and while we're at another table I want just outside the border. I went up to create the CSS stylesheet, but that's all. No ID is no classes at this time. But the content, topics sorted, all done (html). Just a (CSS) style to do but now I'm stuck. Summer look that any tutorials, but none said what I am wanting to do as of yet, is - it possible?

    Family Marsh wrote:

    Thank you for your quick response. The fastest class idea sounds. Add thanks for the code. I think I could have created some classes to deal with groups of 4-cells boarder as one number. (For the upper, class border for left and right border and one class for the bottom border.

    IM positive it is the easier professionally. See my next response.

    In fact, it is probably the simplest method...

    .the {border-left: 3px solid green ;}}

    . Right {border-right: 1px solid blue ;}}

    . Top {border-top: 2px solid red ;}}

    Bottom {border-bottom: 4px solid orange ;}}

    Then, in the HTML for aYou must add each class you wanted added to it...

    (any class)

    (both classes, separated by a space)

    (the three classes, separated by spaces)

    (all four classes, separated by spaces)

  • A region at the only border only no title or the title bar

    Hello Expert,

    I'm trying to create a border around the region, essentially a region with just the bar border and no title or title. There are no simple approach available for this option. Anyone can shed light on this question.

    APEX Version: 4.1.0.00.32

    Theme: Builder 2 blue (I guess that's the theme 2 in the APEX)

    I tried various option using the model of the region without border, report region, region of report without title, without model, etc. as well as a style following CSS code, I've added in the header section of the Page.

    This option creates the border on top of the elements of the region, but do not cover the elements of the region as the elements, who was also in the model without button nor titles

    < style type = "text/css" >
    #CRR {border-style: solid;-CRR is a static ID for the region}
    border-width: 1px ;}
    < / style >

    I also tried to create a model with a new region and removed from the class title and the button class, which has created a region without borders, but there is no line on top than on the sides, which looked so weird. I don't know what is the right solution, but a solution with the new model of the region which does not create that border and no title and the title bar is good.

    Kindly please let me know an approach if everyone is aware.

    Thank you
    CP

    cpora007 wrote:

    Is certainly useful, it does not create the border, but the border is created for both regions.

    It is not the case. It applies only to the #CRR region.

    I have four total regions. At the top is breadcrumb area, below which is region report showing details of base. The third region is a region list waith browser tab only and it is a region without borders. Regions of fourth has all the elements of the form for which I wan the border only. With your suggestion, I am able to get the border, but it covers now the two region 3 and 4. I just only on the 4th region. The model region of fourth, that I modified to 'Region without button or title' the way you suggested.

    Region 3 is cut off from normal flow by excess of s floatthis theme inexplicably applies to virtually everything. This causes the region 4 up and region 3 is rendered in its box.

    Try to make the region 3 model No., or using this to clear the floating region:

    #CRR {
      clear: both;
      border: 1px solid;
    }
    #CRR .bl-body {
      float: none;
      padding: 10px;
    }
    

    The region 3 and region 4 same class .bl-body, hjowever I did not have any static id for region 3. I tried with the static id in region 3 of naming with different name, but that has not changed anything.

    None of this has to do any (other than this class .bl-body is floating).

    Ideally I would prefer a new model of the region, so I can use it for several pages.

    You probably want to create your own model of region from scratch, something like:

    #BODY#

    with a stylesheet as:

    .bordered-region {
      clear: both;
      border: 1px solid;
      padding: 10px;
    }
    
  • Application of color change to multiple layers at once, all chosen by some tag they would share

    Hello world

    When you work on a web template, sometimes I want to change the colors of all the titles at once. I have various web pages (about, contact, blog, etc.) of each in its own layer group. It is very difficult to choose all topics - I need to open all layer groups and search specifically for headers.

    If I could put a label on each topic, and then apply a color change unique to all layers with this label, it would make things so easy?

    Did something like that exist currently in Photoshop?

    I guess that you have linked the 'bbb' and 'aaa' SO THEN in the layers panel so that they have a small icon of the chain. Who will bind only the layers SO for travel and transformations. There is no link between the content of the two re. Alteration of the content of one will affect the other. (Several SOs may be cases where a change to one appear throughout, but it's another scenario to you where the SOs contain different elements.)

    CS6 has paragraph and character Styles, Styles allowing you to the tag type, so it is easy to change a type attribute such as color in all positions, at the same time.

  • How can I convert a picture using only 2 colors?

    Hello, I would like to change an image with many colors in an image using only 2 colors (for example color picker). I almost found what I was looking for with the model of halftone filter, but I don't want the patern in the final result. Thanks for your help

    Please try a gradient layer to the map.

  • Lightroom 3 and CS5 color change when recording to JPEG

    Desperately need help on this one...

    In a nutshell if I use lightroom 3 only and print the images printed images are exactly the same on the screen - so I guess the calbration of the screen is correct.

    If I use lightroom 3 and export to CS5 to continue to make adjustments more when I save the image in jpeg, it seems to have saved well. However if you then maximize the photo in full-screen colors change - radically. Basically, they look aweful. They become quite dull and lose it saturation settings (which were made originally in Lightroom). They print this much too.

    It drives me crazy. I don't think that it has nothing to do with the calibration because it is OK when just using LR3.

    I played with it quite a bit to try to find a solution and have found that if I export for CS5 and Lightroom makes no changes to the photos but just save - she always changes the colors

    Sorry - if it makes a difference... may not, but I have not exported from lightroom for CS5.

    Everything I do is select the right click, click on edit in the > Adobe Photoshop CS5.1...

    Then in CS5 it opens and appears exactly the same as in LR

    From there, I click on file > save under > Jpeg formats and there is an another labeled checked - ICC profile: Prophoto RGB (not really sure what it is and there is no other options to change)

    I tried to show a difference in color by joining the photo.

    Photo right is edited in Lightroom. These colors are what you see when it is maximized on screen and the colors print correctly too. This photo has been open and then in CS5 (photo left) (with LR adjustments) and saved as jpeg and you can see how to change the colors. But you do not see the change unless the screen is completely optimized - and she that prints a lot too.

    I don't know what to do someone had similar problems?

    LR3 and CS5.png

    Yes.  Had something similar last night, but with LR 4.1. I suspect that we each have a color profile mismatch, although I had no time to solve my problem yet.

    My first thought is that the native LR color space is Prophoto default, but PhotoShop must have its 'working color space' specified by the user.  Unless Prophoto is specified in PS, there will be differences in color on a Prophoto image scale (sensitivity) of color-travel will vary from one image to the opening image.

    To change the workspace in PS, pull down the Edit menu and select "color settings".

    Don't forget to check the box to inform you and ask how you want to handle the inadequacy of the color profile.

    As the previous poster said, prophoto is a bad choice for the use of the web.  probbaly the most commonly used color space sRGB is relatively low

    Good luck.

    Jerry

  • Print only certain colors PostScript [JS, CS3]

    Is it possible, via a script to output only certain colors of ink when printing to a Postscript file? When do it manually, you can choose the colors to the exit, but I was not able to find a way to do this via a script. Any ideas?

    Well I think I have this working now. Here is the code:

    // This script works by doing a few things. First, it will delete any ink that isn't actually on the document and in use.
    // Then it will prompt the user to choose what inks they want to output. Once the script has those ink choices,
    // it will decide, via four if statements, what colors to output. There are four if statements to handle all the combinations
    // of cyan and black outputs. The other colors checked (red, blue, etc.) will be printed from within all the ifs.
    // Once it knows what colors to output it creates a preset based on those criteria, and then uses that preset to
    // output the file. After the file is printed to Postscript it deletes the preset and saves and closes the file.
    // If the preset doesn't get deleted for some reason, it will simply be overwritten the next time the script runs.
    // I figured it would be cleaner if it would delete it each time.
    
    if (app.documents.length == 0)
    {
    alert("No document is open.")
    exit();
    }
    
    var myDocument = app.activeDocument;
    
    v =myDocument.unusedSwatches.length-1;
    while (v >= 0)
    {
      try {
       myDocument.unusedSwatches[v].remove();
      } catch (_) { }
      v--;
    }
    
    inklist = myDocument.inks.everyItem().name;
    checklist = [];
    
    //creates dialog box
    var inkDialog = app.dialogs.add({name:"F4 2up LH", canCancel:true});
    
    with (inkDialog.dialogColumns.add())
    {
            with(dialogRows.add())
            {
                var choiceText = staticTexts.add({staticLabel:"Choose ink(s) to output:"});
            }
            with(dialogRows.add())
            {
                with(dialogColumns.add())
                {
                    for (i=0; i
    

    So far, it has worked beautifully. Thanks for any help at all. If there is anything that looks like, it needs to be changed please let me know. It's been a while since I've done something like this.

    Nate

Maybe you are looking for

  • How can I see the source code of a html page?

    In previous versions, it was possible to read the source code on an html page in the "View" menu It is no longer there. How to read code now?

  • How to remove a log in password saved in firefox system?

    At the time of the journal in a site, I have to provide a password. Fire Fox gives an option to save the password. I saved a lot of password. But now I want to delete some user ID registered with password of his memory. How is it possible? Is there a

  • HP pro 3400 and hd 7970

    Hello, all! Is it possible to install the hd7970 on HP 3400 Pro video card? Card mother Foxconn 2ABF, BIOS has been updated to the latest version (7.16). Try to install the video card. Connect the power supply to it. System does not boot. Black scree

  • deletion of Raid

    I have a new HP Pavilion Phoenix h9 - 1150t with Windows 7 Professional 64 bit. I added two hard drives from my old Dell XPS Windows XP for extra storage space. The hard drives in the Dell were connected in a Raid1 (mirror) configuration. I have the

  • End of Microsoft Windows 7

    As real quick... In August of 2013, I bought Windows 7 Home Premium OEM 64 bit. It worked fine (knock on wood!) since the installation in August 2013; but my main question is more how long it will be until Microsoft removes, or finish to Windows 7? A