commitKey = 2 works do not (please help!)

Okay, so I have a combo box (SName) and I have a textbox (Sender_Name). That's what I have to do. I need the combo if something is selected other that the other $ Sender_Name = the SName value. Otherwise, if the other is selected in the drop-down list then the textbox becomes visible and the value is the default value. But this is where I'm having a problem. I need this value to change if the user types the text in (which I work) but when you enter the drop-down list (SName) offshore the commitKey for entry doesn't seem to work. Tab, clicking off works fine but to enter is not. Any help is greatly appreciated. Thank you.

This part of Javascript was put in the section onBlur (run javascript) of my drop-down list field (SName):

var Name = this.getField('Sender_Name');
var SN = this.getField('SName');
if (((event.commitKey = 1) && (SN.value == "Other")&&(Name.value != Name.defaultValue)) || ((event.commitKey = 2) && (SN.value == "Other")&&(Name.value != Name.defaultValue)) || ((event.commitKey = 3) && (SN.value == "Other")&&(Name.value != Name.defaultValue))){
Name.value = "Please Enter a Sender Name";
} 

This part of Javascript was put in my javascript format for my drop-down list field (SName):

var Name = this.getField('Sender_Name');
var SN = this.getField('SName');
if (SN.value=="Other") {     
Name.display = display.visible;
    }
else{
Name.value = SN.value;
Name.display = display.noView;
}

This offer of Javascript was put in the onFocus (run javascript) to my textbox (Sender_Name) section:

if(event.target.value=="Please Enter a Sender Name"){
event.target.value ="";
}

This part of Javascript was put in my format my textbox (Sender_Name) section:

function sname(){
if (!event.willCommit) {
var value = AFMergeChange(event);
if(!value) return;
if(!AFExactMatch(/^[a-zA-Z \ ]{0,38}/, value)) event.rc = false;
}
}

and of course the typo in my textbox (Sender_Name) appeal:

sname();

Got it works the way I need it to be.

function checkSenderName() {}
If (! event.willCommit) return;

var name = this.getField ('Sender_Name');

If (event.value == 'Other') {}
Name.Value = "Please enter a sender name ';
Name.Display = display.visible;
Name.setFocus ();
} else {}
Name.Value = event.value;
Name.Display = display.noView;
}
}

Tags: Acrobat

Similar Questions

  • HP - 15 af008ax: my new laptop usb port for the left side does not, only 1 work on 3 Please help me

    My new laptop usb port for the left side does not, only 1 work on 3 Please help me

    Hello:

    Have you installed the drivers for W7 32 bit amd chipset?

    If this isn't the case, you must install them and reboot the PC to get the 3 for usb ports work.

    You want the first file on the Web page.

    http://support.AMD.com/en-us/download/chipset?OS=Windows%207%20-%2032

  • My submenu does not work on my subpages of muse: that's when I made a change to the captain and now it is not - please help!

    My submenu does not work on my subpages of muse: that's when I made a change to the captain and now it is not - please help!

    The Web site is www.thecupcakebaker.co.uk

    Hello

    It looks like something is bunk of the menu items, pourriez please check again, see you if there are any blank object or anything else

    Let me know if that helps

  • tried everyting to sort the "assertion failed" in LightroomCC, uninstall and installed it again, tried to check the photo folder in the user account, it still does not, PLEASE HELP!

    Had "assertion failure" at the launch of LightroomCC, tried everything help, uninstall and installed it again, tried to check the photo in the user account folder, still does not, PLEASE HELP!

    Thanks for the help.

    My computer scientist has created a new user in my computer and now the 6 Lightroom

    works very well.

    Thank you

  • IM playing final fantasy 8 on pc and using my xbox controller but in the game that the cursor just keeps scrolling and don't know what can not please help

    IM playing final fantasy 8 on pc and using my xbox controller but in the game that the cursor just keeps scrolling and don't know what can not please help

    Hello

    Xbox articles:

    http://forums.Xbox.com/xbox_forums/b/default.aspx

     

    For more information:

     

    Contact Xbox support:

    http://support.Xbox.com/en-us/

     

    Xbox LIVE Support:

    http://support.Xbox.com/en-us/Xbox-Live/browse?XR=shellnav

     

    Games for Windows LIVE errors:

    http://support.Xbox.com/en-us/Games/PC-games/games-for-Windows-errors-messages

     

    Management of the Windows Live ID:

    http://supportuat.Xbox.com/en-us/pages/Xbox-Live/how-to/Xbox-Live-account-management/manage-Live-ID.aspx

  • I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I don't understand. You use vo and eo for you to use business components.

    Again, this kind of code call in trouble.

    You must post the changes to make them visible to the eo find vo. You must then run the query for the changes in the business layer strips then you must update the iterator he table is based on.

    In your code I see that happen, hooch maybe because it is more often than not formatted and undocumented.

    My advice is to do a small test case that you can manage with easy sql. Once you get it to run transfer you the results to the actual application.

    Timo

  • I bought the lightroom 6 worked fine, now it used to open when I try to open the Dungeon of circle of color on spining and wont start, I work with mac, please help me, tried to shut down and restart, nothing works

    I bought the lightroom 6 worked fine, now it used to open when I try to open the Dungeon of circle of color on spining and wont start, I work with mac, please help me, tried to shut down and restart, nothing works?

    Try to hold the alt/option key while you restart Lightroom. Make sure that the right catalog file is selected and click on the "integrity test" box to see if there is a problem with the catalog file that might be repaired.

  • Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving the Manager does not work, can you please help me. Thank you

    Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you

    Hello

    The setting should be as below, and not only the port number should be...

    PORT 7809

    Kind regards

    Veera

  • Install fees HCM 9.1, but the links don't work do not. Help please

    Dear all,

    I'm trying to make a move to the SAP to PeopleSoft. I thought it is easier to install TFTP since the number of installation source is much less than SAP. However, I kept getting same error where the links does not work no matter which environment I tried to install.

    I downloaded all of the software delivery.
    HCM 9.1, PTOOLS 8.52, Oracle 11 g 64 bit, Oracle Client 32-bit.

    First test:
    Install on windows 7 64 bit. Everything works fine until the first connection to the TFTP and all links doesn't do not.
    Hakan suggestion is to apply the patch and gave me a link to the old FTP site. I downloaded the patch 85209 but got the password.
    Finally I managed to get a customer to a friend ID and downloaded Patch 85211 and applied. But received error java so I put discarded it.
    Anyway, Gasparotto said the environment is not certified and will not solve my problem with the patch.

    Second test:
    Installed Virtual Box.
    Installed Windows 2008 R2 and apply the SP1.
    Installed all over again.
    Insured the similar PTWEBSERVER the username password.
    Everything works fine, but when connect to TFTP, once again... the links does not and see in the lower left corner there are a javascript error where they don't find some objects of peoplesoft...

    Just upgraded to IE 9 because I read somewhere that IE 8 is not certified.
    Tried to log in again, no error message and all seems well, but... the links don't work do not.

    Newspapers seems normal to me.

    Anyone who ever encountered similar problems before?
    Fact it is normal behavior before the tools patch 85211 applied?

    Thank you
    aLuNa

    My APPSRV journal:
    ----------------------
    PSSAMSRV.12 (0) [03/11/12 09:04:46] (0) PeopleTools release 8.52 (WinX86) from. Tuxedo server is APPSRV 99/100
    PSSAMSRV.12 (0) [03/11/12 09:04:46] (0) used Cache Directory: C:\APPSRV_CONFIG\appserv\HCDMO\CACHE\PSSAMSRV_100\
    PSSAMSRV.12 (0) [09: 04:46] (0) 03/11/12 server started
    PSRENSRV.2808 [03/11/12 09:04:49] (0) PeopleTools release 8.52 (WinX86) from. Tuxedo server is RENGRP 92/101
    PSRENSRV.2808 [03/11/12 09:04:49] (3) go to the new C:\APPSRV_CONFIG\appserv\HCDMO\LOGS\PSRENSRV_1103.LOG log file
    PSADMIN.2124 (0) [03/11/12 09:04:52] (0) attempt to end on the HCDMO field boot
    PSAPPSRV.1488 (3) [03/11/12 09:13:16 GetCertificate] (3) return of context. ID = PTWEBSERVER, Lang = FRE, UStreamId = 091316_1488.3, Token=PSFT_HR/2012-11-03-02.13.17.193528/PTWEBSERVER/ENG/XxZ3vyJWXF/S1MoQtG2Wox6wGJA=
    PSAPPSRV.1488 (5) [03/11/12 09:13:21 GetCertificate] (3) return of context. ID = PTWEBSERVER, Lang = FRE, UStreamId = 091321_1488.5, Token=PSFT_HR/2012-11-03-02.13.22.193632/PTWEBSERVER/ENG/pS6ec6pIAJJSYc1oOWcNYiR0UFQ=
    PSAPPSRV.1488 (7) [03/11/12 09:13:29 GetCertificate] (3) return of context. ID = PS, Lang is FRE, UStreamId = 091329_1488.7, Token=PSFT_HR/2012-11-03-02.13.30.193285/PS/ENG/3GnOezS6D9PUlzwrjPwqexv4ir0=
    PSAPPSRV.1488 (34) [03/11/12 09:18:47 GetCertificate] (3) return of context. ID = PS, Lang is FRE, UStreamId = 091847_1488.34, Token=PSFT_HR/2012-11-03-02.18.48.194158/PS/ENG//oJB5tvSHYNzsmZ2Gs4g2vBLUVs=

    alunwawa wrote:
    ...
    my configuration.properties file:
    psserver = HARTONO:9000
    joltPooling = true
    DomainConnectionPwd = {V1.1} 6O5vpwGxd5o =
    WebProfile = DEV

    AppDesigner 3tier mode does not care webprofile and Web server. It doesn't use any.

    an idea of the JOLT_CAT:1592 error?

    I think you misunderstandoog 3tier mode.
    3tier with AppDesigner connection is a direct connection to the application through the WSL port server, not on the Web or JSL port server or.
    So first WSL must be activate and port configured on the appserverver.
    Second, your client should point to WSL port (7000).

    You can learn more
    http://Gasparotto.blogspot.nl/2010/03/PeopleSoft-database-connectivity-part_28.html

    Nicolas.

  • Skype problem - last version does not, please help

    So I can't install the latest version of Skype. It's really frustrating because whenever I try to install it, an error comes up saying "Failed to get address of procedure for GetLogicalProcessorInformation (KERNEL32.dll)"

    -J' tried to open Skype after installation by clicking on the icon, but the same thing happens.

    -J' also tried uninstall and install Skype several times, but nothing works.

    -J' downloaded Service Pack 3, I've read about this problem and some websites recommended to do this, but again, nothing has worked, same error appeared.

    -I can not download the older versions of Skype, because every time that I install them, it takes me to the login page and so I put my login information, but it won't let me through, and it is said that they released me because I have an obsolete version of Skype.

    Please help, as I don't know what to do, I've tried everything and there is no solution.

    Help will be very appreciated!

    If you receive the same error message after update to SP3, then it means that the installation of SP3 was not successful. Try to reinstall SP3.

    http://community.Skype.com/T5/Windows-desktop-client/Skype-fatal-error-KERNEL32-dll/m-p/2098595#M238...

  • Sending of Photos does not, please help!

    My friend and I have updated Skype when updates a few weeks ago showed. When I send her a picture (and when she sent me), nothing appears. We don't see any which triangle or the error msg.

    For example: I send the picture and watch it load until I see the thumbnail preview. She sees nothing that sent the transfer at all (I tried with mp3 and those worked if this only happens with images) and when she tries to send me a picture, it can also see a thumbnail of the image, but I don't see anything. It's as if nothing has been sent in the first place.

    I use Win7, not sure she uses, but I think it's the same. I tried to update Internet explorer (although some topics here claimed that it is useless, after they have tried) as I have IE8, but he wouldn't let me not updated IE11 or whatever the latest version.

    I see of the solutions so far are so no decommissioning but to a former Skype on both computers. Thing is, we love the look of this new version and would like to avoid downgrading if we can make the image (all image formats as none work right now) work. We transfer a lot of pictures in both directions with our work and it is a necessity. We had to resort to transfer their thanks to yahoo and facebook messenger. It is simply unacceptable to Skype, really, sorry but it's true.

    It was hard enough we have been forced to spend nice MSN, perfect Skype and when Skype finally gets a similar look decent and options, we get this kind of problem? Everything simply unacceptable.

    Please help to solve this problem or we Demote or just give up Skype. This is a major problem and we are not the only ones to have. Transfer files via the Cloud is one thing, that is miffy at best in terms of privacy record of our files (temporary or not) rather than simply transfer, but this also? It must be fixed, at least.

    Help, please! It's very disturbing and constantly frustrating...

    Thank you.

    You can try to uninstall the latest 7.0 version and return to the previous 6.21.0.104 version. In this version the files are always transferred via the old way of P2P.

    http://download.Skype.com/MSI/SkypeSetup_6.21.0.104.msi

  • Lenovo k900 hsdpa + doesn't work does not need help!

    I bought two lenovo k900 both work very well, but one of the k900 had some problems so he replaced by lenovo, now the problem is that I have the 3G compatible sim card and even I got the package 3G active Hat number whne I use the 3g network of these k900 the H icon only shows and I also have low speed on the net but same sim when I installed on my samsung S4 it shows me H + icon and high speed internet, so I tried this thing on my previous phone which is not replaced, and the new phone after replace and the three other k900 present the same problem could someone please help me n this what should I do?


  • Liquefy filter does not, please help!

    Hi friends,

    I use Photoshop CS4 every day all day, this morning my Liquify Filter has stopped working and I'm pulling my hair out trying to figure out why.  I already checked the obvious; I'm working on the correct layer and "show image" is checked.  I've already trashed preferences and restarted the computer and Photoshop.  I have attached a screenshot below (just in case I'm missing something).  The tool itself works (I can see the brush and move it), it is simply not to do something.  Nothing has changed since yesterday, there is no new software updates to install, I sat down just to start working and it did not work.  Can anyone help?  Please?  Very please?

    photo-4.jpg

    It seems that you could have selected to liquefy the reconstruction tool

    (left-hand tools)

  • VMotion does not, please help

    vmtion to another host and don't test works do not. validation error. "Can't access the virtual machine data store?

    Consult the data bank on host 2 and I do not see the virtual machine of Host1 vmdk files.

    I have a HP proliant DL380G running ESXi5.5 SD and two nested ESXi host...

    VMkernel installation on both hosts

    management network vmotion enabled

    in promiscuous mode.

    SCSI storage

    vmotion error.JPG

    Looks like the VM Windows8.1host2 is stored on the store of data called datastore1 that seems to be a local host 192.168.1.71 data store, if what I say is correct, you will be unable to vMotion from host 192.168.1.70 this virtual machine, do not have access to the local data store of home 192.168.1.71. To be able to vMotion virtual computers between the hosts, the virtual machine must be stored on a shared data store that the two hosts has access.

  • App.doc works more - stuck, please help

    I'm pretty new to javascript inside Acrobat development. I had a set of scripts to the level of records who created the buttons to work. With the help of Acrobuttons, I set them up using the model type:

    var oButton =

    {cName: "testButton",}

    cExec: DoCmdTest,.

    cEnable: "event.rc = (checkValid()) «,»»

    cMarked: "event.rc = false"

    cTooltext: "try again!"

    NPO:-1

    {cLabel: "Try again"};

    where the checkValid() function was defined above, something like this:

    checkMyValid = {app.trustedFunction (function ()}

    If (app.doc == null) {}

    Console.println ('it always it is null');

    Returns false;

    }

    other check here to see if the button should be enabled.

    in which case they return true;

    otherwise:

    Returns false;

    });

    It was everything works fine, until yesterday. Suddenly, app.doc is null to everytime. And if I use app.activeDocs [0], same result.

    Yet when I use the console with an open document, the app.doc and the app.activeDocuments [0] return my document.

    If anyone has experienced this?

    Thank you

    Jack

    Alternatively, you can test to see if a document is opened with:

    cEnable: ' event.rc = (event.target! = null); »

Maybe you are looking for