Script for the use of rich text change

I use the script below to add instructions for the use of Textfields. I would like to do the same thing with textfields in the rich text format, but this script no longer works when I put in the field to accept rich text. Can you tell me how to change the script, so it does not work in a ttext field that allows the user to enter rich text?

MeetingMinutes. #subform [2]. Attendees::Initialize - (JavaScript, client)

this.execEvent ("exit");
This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";


MeetingMinutes. #subform [2]. Attendees::Enter - (JavaScript, client)

this.fontColor = "0,0,0";
This.font.posture = "normal";


MeetingMinutes. #subform [2]. Attendees::exit - (JavaScript, client)

If (this.isNull)
{
this.fontColor = "153,153,153";
This.font.posture = "italic";
}


MeetingMinutes. #subform [2]. Attendees::prePrint - (JavaScript, client)

This.format.Picture.Value = "";


MeetingMinutes. #subform [2]. Attendees::postPrint - (JavaScript, client)

This.format.Picture.Value = "null {'}" + this.assist.toolTip.value + ""} "";

Thank you

-Don

Hi Don,

Similar to your script above, but try this in the event enter:

if (this.rawValue === this.assist.toolTip.value) {
          this.rawValue = "";
}

and then exit on the event:

if (this.rawValue === null) {
          this.rawValue = this.assist.toolTip.value;
}

ALTER depending on the initialize event and formatting, etc.

Niall

Tags: Adobe LiveCycle

Similar Questions

  • How should be written the script for the use of the maximum memory of the guest operating system ever?

    How should be written the script for the use of the maximum memory of the guest operating system ever?

    Please teach the name of the object and the type and order, etc.

    You should be able to do it with the cmdlet Get-Stat .

    Something like that

    Get-Stat -Entity (Get-VM $vmName) -Stat mem.usage.maximum -Start (Get-Date).AddDays(-7) | Measure-Object -Property value -Maximum | Select Maximum
    

    This will return the maximum percentage in the last 7 days for the guests, whose name is stored in the variable $vmName.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Guidelines for the use of conditional text

    I'm looking for instructions on the use of conditional text. Our company has grown, and that the range of products has increased, the number of conditional text tags has increased. We are up to 30 tags and continues to grow. I was struck my colleague to start breaking this system a bit, because I'm afraid, it becomes a House of cards. Colleague has been 20 years and grew up with the system - it's the only one that it is used. He sees nothing wrong with it. The tags are in its abbreviation. When I mentioned that everybody don't would not new understand them, his response was that they would teach them eventually. Also, it's starting to get to the point where some sentences are be mislabeled, causing many errors.

    Are there guidelines I refer who say in the use of conditional text is too large so that it's not just my word? 


    Milmacrose

    You might want to take a look at Matt Sullivan & Sarah O'Keefe book (edition Fundamentals - unstructured FrameMaker 11; Chapter 24) for some background information on the consequences of the use of the multiple conditional tags. Depending on what your choice (i.e. to hide or show content based on the condition tag), you can get in very complex situations with some items possibly requiring each combination of tags applied to prevent display (or display) as needed. Even with simple simple conditional tags, it can reach a very large number of unique tags required (mathematically, you are summing a series of combinations). For example, [as used in the Book], given a product in Light versions, Standard and Pro with specific online requirements & Print for Mac, Windows and Unix, there are 32 conditional tags applied correctly. If you have content that should appear in a few versions, it climbs easily up to 47 unique tags. You'd be better trying to herd a bunch of cats in a field of grass cat...

  • Script for the use of XML data to pre file form open using the player

    I need to pre fill five fields when the user opens the form using Acrobat Reader (title, name, address, etc.). The values are saved in an xml data file in the same directory as the form (no database or web services connections). I tested the xml code and form structures using shapes-> manage form data-> import data and everything works fine. Now, I need to emulate this behavior programmatically, so it does not work using only Acrobat Reader. I can't find the magic java script command to import the data (I tried xfa.host.importData and xfa.datasets.data.loadXML without result). Require purchase Pro or Livecycle Server product is not an option. This seems to be a basic requirement, so I hope I'm just being stupid and missing of which is obvious. Thank you.

    Hello

    Unless you're reader allowing the form with LiveCycle Reader Extensions ES, users with reader will NOT be able to import (or export) XML.

    Summary here: https://acrobat.com/#d=3lGJZAZuOmk8h86HCWyJKg

    Based on your description that you look at options 2 and 3, users with the reader.

    Sorry,

    Niall

  • I have a Windows Server 2008 R2 system. I use Adobe Acrobat Pro XI. I'm looking for the place where I can change the default font of Calibri Minion Pro? Tools, content editing, formatting

    I have a Windows Server 2008 R2 system. I use Adobe Acrobat Pro XI. I'm looking for the place where I can change the default Miinion Pro to Calibri font?

    Tools, content editing, formatting

    You can't change it.

    Tuesday, January 13, 2015 11:22, tonywaidmann [email protected]>

  • Script for the conversion of the hyperlinks to the buttons?

    Hello!

    Does anyone know if West a script for the conversion of the hyperlinks to buttons with the action of going to the URL with the same URL, which has been used with hyperlink?

    Here it is:

    /* Copyright 2012, Kasyan Servetsky
    November 29, 2012
    Written by Kasyan Servetsky
    http://www.kasyan.ho.com.ua
    e-mail: [email protected] */
    //======================================================================================
    var scriptName = "Convert hyperlinks to buttons - 1.0";
    
    Main();
    
    //===================================== FUNCTIONS  ======================================
    function Main() {
        var hyperlink, source, sourceText, destination, page, arr, outlinedText, gb, button, behavior,
        barodeCount = 0,
        hypCount = 0;
        if (app.documents.length == 0) ErrorExit("Please open a document and try again.", true);
        var startTime = new Date();
    
        var doc = app.activeDocument;
        var layer = doc.layers.item("Buttons");
        var swatch = doc.swatches.item("RGB Yellow");
        var hyperlinks = doc.hyperlinks;
    
        var progressWin = new Window ("window", scriptName);
        progressBar = progressWin.add ("progressbar", undefined, 0, undefined);
        progressBar.preferredSize.width = 450;
        progressTxt = progressWin.add("statictext", undefined,  "Starting processing hyperlinks");
        progressTxt.preferredSize.width = 400;
        progressTxt.preferredSize.height = 30;
        progressTxt.alignment = "left";
        progressBar.maxvalue = hyperlinks.length;
        progressWin.show();
    
        for (var i = hyperlinks.length-1; i >= 0; i--) {
            hyperlink = hyperlinks[i];
            source = hyperlink.source;
            sourceText = source.sourceText;
            destination = hyperlink.destination;
            page = sourceText.parentTextFrames[0].parentPage;
    
            barodeCount++;
            progressBar.value = barodeCount;
            progressTxt.text = "Processing hyperlink " + hyperlink.name + " (Page - " + page.name + ")";
    
            arr = sourceText.createOutlines(false);
            outlinedText = arr[0];
            gb = outlinedText.geometricBounds;
            outlinedText.remove();
    
            button = page.buttons.add(layer, {geometricBounds: gb, name: hyperlink.name});
            button.fillColor = swatch;
            button.fillTint = 50;
            button.groups[0].transparencySettings.blendingSettings.blendMode = BlendMode.MULTIPLY;
            behavior = button.gotoURLBehaviors.add();
            behavior.url = destination.destinationURL;
    
            hyperlink.remove();
            source.remove();
    
            hypCount++;
        }
    
        var endTime = new Date();
        var duration = GetDuration(startTime, endTime);
        progressWin.close();
    
        alert("Finished. " + hypCount + " hyperlinks were convertted to buttons.\n(time elapsed: " + duration + ")", scriptName);
    
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function GetDuration(startTime, endTime) {
        var str;
        var duration = (endTime - startTime)/1000;
        duration = Math.round(duration);
        if (duration >= 60) {
            var minutes = Math.floor(duration/60);
            var seconds = duration - (minutes * 60);
            str = minutes + ((minutes != 1) ? " minutes, " :  " minute, ") + seconds + ((seconds != 1) ? " seconds" : " second");
            if (minutes >= 60) {
                var hours = Math.floor(minutes/60);
                minutes = minutes - (hours * 60);
                str = hours + ((hours != 1) ? " hours, " : " hour, ") + minutes + ((minutes != 1) ? " minutes, " :  " minute, ") + seconds + ((seconds != 1) ? " seconds" : " second");
            }
        }
        else {
            str = duration + ((duration != 1) ? " seconds" : " second");
        }
    
        return str;
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function ErrorExit(error, icon) {
        alert(error, scriptName, icon);
        exit();
    }
    
  • Script for the Configuration DVSwitch

    Hello

    Someone at - it a script for the information of VDS on the level of the host which nic is connected to what uplink?

    Also to remove all Exchange created in the VDS switch for the host and then recreate the exchanges as they were after the connection to the host to a vCenter diff?

    Also any script to copy the resource through VCenter pools?

    Thank you

    Suraj Rawat

    The following script will export information of VDS for uplink, the port they are in and what Teddy is used by node ESXi.

    $report = {foreach ($dvSw in Get-VDSwitch)

    foreach ($esx in (Get-View-id $dvSw.ExtensionData.Summary.HostMember)) {}

    $proxy = $esx.Config.Network.ProxySwitch | where {$_.} {DvsUuid - eq $dvSw.ExtensionData.Uuid}

    $pnicTab = @ {}

    $proxy. Spec.Backing.PnicSpec | %{

    $pnicTab.Add ($_.) UplinkPortKey, $_. PnicDevice)

    }

    $proxy. UplinkPort |

    Select @{N = "vdSwitch"; {E = {$dvSw.Name}}.

    @{N = "$vmhost"; E = {$esx. Name}},

    @{N = "vNIC"; E = {$pnicTab [$_]} Key]}},

    @{N = "Uplink"; E={$_. Value}},

    @{N = 'Port'; E={$_. Key}}

    }

    }

    $report | Export Csv C:\dvSw-Uplink.csv - NoTypeInformation - UseCulture

  • All of the fonts that come with Dreamweaver CS6 are licensed for the use of the web?

    All of the fonts that come with Dreamweaver CS6 are licensed for the use of the web?

    I also have Creative Suite 5, which I think is delivered with a set of Adobe Fonts. These are all licensed?

    A license?  Yes, but not necessarily for the web. Some licenses permit use on paper or images but not the web.

    For legal reasons don't assume that you can use any font you want on the web. Fonts are protected by the intellectual property laws in the same way that software is protected against illegal copy, modify or distribute. In other words, an owner of fonts can of course, saying "you can use my font, but you cannot change it, you can not reproduce and you may not distribute." On the web, which is a deal breaker, because you must be able to do all three.

    These font families are common to most Windows/Mac systems.

    Adobe Edge and TypeKit Web fonts are licensed for use on the web.

    Nancy O.

  • script for the murder of session

    Hello
    I prepare a script for the murder of session and I use the following command to generate the script for large number of users. The syntax for the murder of the session is ALTER SYSTEM KILL SESSION * "SID, SERIAL #" * IMMEDIATE. I want my output with SID, SERIAL # values within the single quots *('SID,SERIAL#') *. can someone help me on this?


    Select "ALTER SYSTEM KILL SESSION ' |" SID | «, » || SERIES # | ' IMMEDIATE '. « ; » FROM V$ SESSION WHERE BLOCKING_SESSION IS NOT NULL




    Thanks in advance

    Published by: 793097 on December 14, 2010 05:53
    select 'ALTER SYSTEM KILL SESSION '''||SID||','||SERIAL#||''' IMMEDIATE'||';' FROM V$SESSION WHERE BLOCKING_SESSION IS NOT NULL
    

    Nicolas.

  • How will I know if I am being charged for the use of data on the mini2 ipad

    How will I know if I am to be charged or billed for usage on my ipad mini data 2?

    Hello

    You can be charged for the use of data on an ipad, if it has a SIM card

    Cellular data.

    If your home wifi is unlimited you will not be charged more.

    Unless your WiFi has a hat of data ie download limit.

    See you soon

    Brian

  • I need the scanner for hp officejet 4215 for the use of scan software

    I need the scanner software for hp officejet 4215 for the use of scan and when I press the scan button on the printer know any software to scan function.

    Hello

    Please use the following link:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&DLC=en&product=351106

    Kind regards.

  • not able to install the driver mx NIDAQ (for the use of USB-6008) in my laptop, NIDAQ902f0? any solution...

    I am not able to install driver of mx NIDAQ (for the use of USB-6008) in my laptop,... well NIDAQ902f0 want to give any suggestion...

    Following message comes when I run the Setup... (installation program downloaded from the website OR..)

    Runtime error:

    This application has requested to terminate in an unusual way.

    Please contact the application support is more information.

    Title of the dialog box is "Microsoft Visual C++ runtime library"

    Is the same when NIDAQmx 7.5 is tried to install from the CD that came with the USB-6008.

    Double post

  • Is it safe to use Safe Mod with networking for the use of the computer every day?

    Hi, my computer has problems to start normally and I was wondering, is it safe to use Safe Mod with networking for the use of the computer every day? I use the computer like 10 hours + every day. Is this correct and safe? Thank you

    Hello, Winston,

    It is actually for troubleshooting only.

    Networking Mode safe mode starts Windows in mode safe mode and includes the network drivers and services needed to access the Internet or other computers on your network.

    Some applications may not work properly or not at all if you use safe mode with networking for everyday computing.

    Wireless network adapter may not work when you use the Option "Safe Mode with network.

    http://support.Microsoft.com/kb/305616

    Safe mode disables most of the processes and services running. These services include the Windows Update service. »

  • Is the function of automatic update of Windows found in the use of control panel of your compensation for the use of the Internet from my ISP?

    Original title: Windows updates

    Is the function of automatic update of Windows found in the use of control panel of your compensation for the use of the Internet from my ISP? If so, how? In addition, how to hide an update, I don't want to? For example, I use (and I'm happy with) Windows Internet Explorer (v7), but receive reminders to update update to Internet Explorer v9, which I don't want.

    Is there a way to prevent Windows Update for sending this reminder in the future?

    Geoff

    Hide and Yes will use you PSI data usage. It depends on how much the updates install you, on the amount of data it uses

  • Type of license for the use of Veritas Backup exec with the unit?

    Nobody knows the type of license (or order number) for the use of Veritas Backup exec with the unit?

    The customer is already using the product widely in their networks, which is the license includes?

    Thank you.

    HI -.

    We use Veritas for the backup device. You will need to contact your representative of Veritas for license information - it is not provided by Cisco. Since the unit running SQL (or MSDE 2000), you will need SQL Veritas agent to back up OPEN files. We do not use dirt, but only for the backup device before performing the upgrades. And we also to break the mirror set beforehand. http://www.Cisco.com/en/us/customer/products/SW/voicesw/ps2237/products_maintenance_guide_chapter09186a0080443809.html#wp1073824

    Ginger

Maybe you are looking for

  • Push certificate error

    Im running 10.7.5 Server My Push notification service certificate expires in a month. I tried to renew through the application server tonight... and get the error: "An unexpected-(1200) error has occurred." No idea what it is... don't tell me Apple d

  • no service on iphone 6, iOS 9.3.4, 16 GB

    My sim card is not recognized on my iphone 6 more. When I insert it, it is looking, and then it shows "no service". I changed my sim card and still does not work. I mention that the SIM is ok, it works in my iphone 4. I don't know what could be the p

  • Projector for iPad Air requirements

    I bought the cable so that the iPad has been connected to the projector via the HDMI port. The connection was immediate, but the picture was fuzzy. I tried different settings on the projector, but none worked. Do I need a projector which is higher re

  • Size of flash SSD drive internal

    Hi all... Can someone tell me how to know the size of my SD0128F of SSD APPLE? Also, would you recommend replacing as capacity is concerned? Thanks in advance

  • Only 1 198 links on a page is displayed correctly. The rest of the text flow.

    Looking at a page with 198 links seems to overflow an internal table of Firefox. 1 198 links on a page correctly, and these links work fine. All links starting with 199 and beyond onscreen as simple test, flow all together across the screen and are n