Who to use "xfa.event.newText" for value and not text

Hello,
What is the righr method for returning the value from a "list".
xfa.event.newText return's the texte value i want le value.
exemple :
Text = USA  Value=us
Text=France Value=fr
Thanks

Hi,
A sample is here: https://acrobat.com/#d=eBF-l8sBTVN6-jqDUDw6lA
It shows how to access the display value and the bound value.
Good luck,
Niall

Similar Messages

  • Convert Javascript: switch(xfa.event.newText) to Formcalc Syntax

    I was wondering if someone could provide me with the syntax for formcalc for the following javascript. This is used to hide or make visible 2 fields based on a value in a drop down list:
    switch(xfa.event.newText) {
        case 'A - Approved':
            form1.Page1.2nd_Title.presence = "visible";
            form1.Page1.2nd_Signature.presence = "visible";
            break;
       default:
            form1.Page1.2nd_Title.presence = "hidden";
            form1.Page1.2nd_Signature.presence = "hidden";
            break;
    Thanks,
    Mallard27

    Sorry, no simple switch-like statement in FormCalc, although there are convoluted ways to simulate it.  For your example the easiest is if/then/else:
    if (xfa.event.newText == "A - Approved") then
         form1.Page1.TextField1.presence = "visible"
         form1.Page1.TextField2.presence = "visible"
    else
         form1.Page1.TextField1.presence = "hidden"
         form1.Page1.TextField2.presence = "hidden"
    endif
    Also, not sure if you can have object names that start with a number, like "2nd_Title".

  • Difference btwn xfa.event.change and xfa.event.newText pls?

    Hello
    I tried to figure out the difference between xfa.event.change and xfa.event.newText in google, but did not see any such!
    Pls. could you clariy my question that what is the differenvce between these 2 (xfa.event.change and xfa.event.newText)?
    Thank you

    Thank you. With out having much knowledge on JS, i wrote the below JS
    myFomr.Page2.mySubform21.myCheckBox211::exit - (JavaScript, client)
    // To  check this check box, bank acct # is must to enter by user
    if (this.rawValue == "X"){
    if ((xfa.resolveNode("myFomr.Page2.mySubform21.BankNumber").rawValue == null) || (xfa.resolveNode("myFomr.Page2.mySubform21.BankNumber").rawValue == "")) {
        xfa.event.change = "";
    My impression was, i can change a value (in the above case am unchecking the check box by populating it with ""/space) of any (text, check box, drop-down) field on the form explicitly by using this script
    (xfa.event.change = "";),
    i already placed in around 20 locations, so, pls. suggest me do i need to correct all these 20 locations, kind of risk/tediuos at this point or is it ok that leave as is?
    Thank you

  • I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes.   Finally Fixed!!!  SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.

    The issue:  Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes.   Finally Fixed!!! 
    SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.
    The cause:  It is now clear what caused this problem.  For years I had several “all-day” events in my Outlook calendar (birthdays, anniversaries, etc.).  In May 2012 I decided to make some of them one hour  events so I could add alerts to remind me of the event.  I did this by dragging them in Outlook to the time I wanted and expanding them to the time slot desired and then adding the alarm.
    The symptom:  Syncing stopped working for the calendar but continued working for contacts and notes.  I didn’t realize sync was failing until months later when I missed two very important phone calls, so when I noticed it the cause was not obvious. 
    The failed attempts:  I’m head of a software firm and my calendar sync is a crucial to my business life so I took this on with a vengeance.  From a quick look at events in Outlook and the iPhone I could see that the problem started in May 2012.  Events before May were in both Outlook and the iPhone but events after May were only one or the other.  Unfortunately I had changed several other things at the same time relating to other events so again the cause was not obvious.  MANY calls with AppleCare proved them incompetent so my internal IT guys assisted trying many things.  We tried a huge number of calendar changes and several versions of iTunes, iPhone OS and Office as well as both iPhone 4 and 5, all without success.
    The fix:  After 18 months of frustration, MANY  hundreds of $ expense and MANY hours of wasted time I saw a blog that had a calendar sync  problem and it indicated all day events were related.  I changed the display of the Outlook calendar to the list view, added columns so I could see “all day” event check marks as well as times of events,  sorted on the “all day” event column to move them to the top, and for all events that were “all day” events AND had a start and end time, I removed recurrence and then added the annual recurrence back…
    After I fixed all events that had BOTH “all day” set and had a start/end time, I tried another sync.  It synced for the first time in 18 months! 
    Problem occurred May 2012 – fixed Nov 2013

    Hi, to remove dummy '_ModGrp' entries, rather than crashing the 'Suppr' key on your keyboard, you can use this basic VBA macro (launched for instance from Excel).
    It will recursively remove all '_ModGrp...' folders
    Sub RemoveFolders_Click()
        Dim oOutlook As Outlook.Application
        Set oOutlook = New Outlook.Application
        Set objNameSpace = oOutlook.GetNamespace("MAPI")
        Call CleanFolders(objNameSpace.Folders)
    End Sub
    Sub CleanFolders(objFolders As Outlook.Folders)
        For i = objFolders.Count To 1 Step -1
            If Left(objFolders(i).Name, 7) = "_ModGrp" Then
                objFolders.Remove( i )
            Else
                If Not objFolders(i).Folders Is Nothing Then
                    Call CleanFolders(objFolders(i).Folders)
                End If
            End If
        Next i
    End Sub

  • Using internal SSL Certs for Webview and Reskill (ICM 7.2.X)

    Hi,
    I would like to use corporate ssl certs for webview and reskill to avoid the user having to install the self signed certificate on the local machine. Has anyone any experience of this? Can it cause any unforseen problems?
    My plan for webview is to create the certificate request in IIS for the default website, use this csr to generate the cert, then complete it by uploading the certificate.
    For reskilling, I will assume I will have to do some command line stuff here ...
    eg: keytool -genkey -keyalg RSA -keystore hostname.key
    to create the key,
    keytool -certreq -keyalg RSA -keystore hostname.key -file hostname.csr
    to create the csr, and
    keytool -import -trustcacerts -alias tomcat -file hostname.cer -keystore hostname.key
    to import the new cert
    Suggestions or comments for anyone who has tried this before would be appreciated.
    Regards,
    Brian

    I've never done it on a version so old, but at the end of the day it's just IIS and Tomcat and importing an SSL cert is very standard.
    david

  • Event Structure's value change, not detecting changes when tabbing thru array of clusters

    Hi!  I have an array of clusters (int, int, string, int) control, and want to detecting changes made to the it.  I used the Event Structure's value change case on the array, it works excellent except that it'll only detect the changes when you click out of the element or press the enter key (the one by the numbers, not carriage return).  I want it to detect the changes when I tab thru the cluster or array too, but I can't figure it out... Does anyone have any ideas?
    Thanks!

    mfitzsimons wrote:
    altenbach
    Tried Value Change with my example done in 7.1 and it doesn't trgger an event.  That is why I suggested Mouse Down.
    Curious. I did a few minor edits in 8.0 before saving as 7.1, but the simple value change event got triggered just fine when the value vas terminated with a tab in 7.1. Every time.  Strange....
    Are you on 7.1 or 7.1.1? Maybe there's a difference (I am using 7.1.1).
    LabVIEW Champion . Do more with less code and in less time .

  • Where we use Conversions? like Fixed Value and Value mapping? and use of th

    where we use Conversions? like Fixed Value and Value mapping?
    and what is the use of that....

    Hi
    Have a Look at this
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Value mapping is used to map different representations of an object to each other.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    You can do value mapping both in IR and ID
    IR: Message Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    ID: Tools --> Value Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    Value mapping replication: For uploading data from tables, excel sheet etc. into XI
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value mapping
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Thanks

  • SP2013 Remote Event Receivers for Office365 and Custom Web Service

    Hello I'm starting to work with remote event receivers for Office365 and I read that the RERs runs only as Provider-Hosted or Auto-Hosted Apps, so If I wanted to implement for example prevent to the user add items to some list, my question is : 
    is it needed an account in a  platform cloud like Azure(to support .net apps) or have a custom server like IIS(with public IP, dns) in order to hosting my WFC service and to be able to manage the events registered into office365 ? or exist another option
    to achieve this goal(prevent to users perform some actions) ? please, can you help me to clarify this ?....

    Hi,
    The following articles would be helpful:
    Deploying SP2013 provider-hosted apps/Remote Event Receivers to Azure Websites (for Office 365 apps)
    http://www.sharepointnutsandbolts.com/2013/07/deploying-sp2013-provider-hosted.html
    Remote Event Receiver (RER) for Host Web using SharePoint Provider Hosted App in Office 365/SharePoint Online Environment
    http://blog.kloud.com.au/2014/03/13/remote-event-receiver-rer-for-host-web-using-sharepoint-provider-hosted-app-in-office-365sharepoint-online-environment/
    About Office 365 questions, you can also post it to Office 365 Forum, you will get more help and confirmed answers from there.
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Why does my app store use a different account for downloading and another for updating apps?

    My app store used my own account for downloading and my sister's for updating, and it keeps telling me to reset my account. I already did that the other few times it told me to do that!

    Have you restored your device from your sister's backup?

  • We have 2 itouchs, we a separate itunes account for each one. We have one home computer to use them both on for syc and icloud, the icloud will not accept the 2 accounts?

    we have 2 itouchs, we a separate itunes account for each one. We have one home computer to use them both on for sync and icloud, the icloud will not accept the 2 accounts?

    Do you know what happens if you delete the icloud account from an iphone 4s?  Will it delete the pictures, documents, etc. from the phone, or just unlink the icloud from the phone?  I want to associate a different icloud account to the phone.

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • Can windows xp use a different sound card for itunes - I want to use a sound card for itunes and another for all other apps

    Can Windows XP use a different sound card for itunes - I want to use a sound card for itunes and another for all ther apps

    To the best of my knowledge, Windows is not capable of setting a specific sound card based on the app being used, it's all or nothing.
    Try a google search or search the Microsoft site.

  • HT3406 If I choose "restore from iTunes backup" to move everything from old phone.  Will I still be able to use the old phone for music and apps?  Can the old phone be docked up to the computer?  Or will the new and old phone overwrite each other in some

    If I choose "restore from iTunes backup" to move everything from old iphone to a new one, will I still be able to use the old phone for music and apps?  Can the old phone be docked up to that same computer every now and then?  Or will the new and old phone overwrite each other in some way?  In other words, are the two phones treated as different devices when the "restore" option is used to set up the new phone?   Thanks in advance.

    Yes, you can use the old iPhone as an iPod touch.
    Read this:
    http://support.apple.com/kb/HT3406

  • HT204053 I am using my Apple ID for me and for my wife. when I sync. the phones i lost all my wife contact. how do i recover the contact from i cloud?

    I am using my Apple ID for me and for my wife. when I sync. the phones i lost all my wife contact. how do i recover the contact from i cloud?

    While I have a few ideas, I think you'd have better luck troubleshooting this in the iCloud forum.

Maybe you are looking for

  • Want to use Premiere Elements 4 or newer with Windows Vista 64 bit??

    We bought a new pc with Windows Vista 64 bit - but are now having problems using my Photoshop Elements6 and Premiere Elements 4 with our new pc.  it says on the box and on the web - that it is compatible with Vista - so why isn't it working for us? 

  • How to set an Application Item from PL/SQL

    I am attempting to set an Application Item After login to my app, I want to retrieve a row from my SETTINGS table and populate some Application Items with the settings information so that I can display some of that settings information on every page.

  • Lookup form standalone client  fails with java.lang.ClassNotFoundException

    Hi, I have an issue under Weblogic 11g when a standalone client tries to lookup for an ejb deployed in an ear. The ear is correclty deployed without any errors and the EJB is correctly defined in the jndi tree (i see it using the jndi browser through

  • File saved on 2014 trial version, cant open it in older muse cc

    Hi! does anyone know how can i open a file that i saved on muse cc 2014, in the old version, muse cc? I scrued it and saved in the trial version and now that it expired i cant open it or access all of my work!!

  • Email password invalid

    I have been using my BB for 1 week today.  My email has been working fine on my blackberry until some time this afternoon.  I received an email stating my email password was invalid and to reset it to continue receiving my emails on my phone.  I have