mistake, that I can't understand

Hello

I have this script in a submit button:

Create a variable to hold the document object

var oDoc = event.target;

oDoc.mailDoc({)

bUI: true,

cTo: heading.system.rawValue,.

cCc:

' bassujetti: heading.sevLevel.rawValue ' - '+ heading.description.rawValue' - '+ heading.location.formattedValue,

"CMSG: formFields.symptoms.rawValue ' - '+ formFields.whoExp.rawValue' - '+ formFields.whereOccurred.rawValue' - '+ formFields.whatEquip.rawValue' - '+ formFields.troubleShooting.rawValue,

});

{When I check the script, I get a message waited} line 9. I can't understand what is wrong.

Thank you

MDawn

You are missing a plus + before your ' - '.

Kyle

Tags: Adobe LiveCycle

Similar Questions

  • 1009 error that I can't understand...

    I have a video player with commands that I exported as swf (dialogue). I'm trying to get that video player to open in an another fla (holder.fla) when a certain button is clicked. The problem is when we click the button I get an error #1009 that I can't understand:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
     at 3_fla::main_mc_1/initVideoPlayer()
     at 3_fla::main_mc_1/frame1()
    

    initVideoPlayer() is the dialogue function that implements the player controls:

    function initVideoPlayer():void {
     // hide buttons
     mcVideoControls.btnUnmute.visible = false;
     mcVideoControls.btnPause.visible = false;
     
     // set the progress/preload fill width to 1
     mcVideoControls.mcProgressFill.mcFillRed.width = 1;
     mcVideoControls.mcProgressFill.mcFillGrey.width = 1;
     
     // add global event listener when mouse is released
     stage.addEventListener( MouseEvent.MOUSE_UP, mouseReleased);
     
     // add event listeners to all buttons
     mcVideoControls.btnPause.addEventListener(MouseEvent.CLICK, pauseClicked);
     mcVideoControls.btnPlay.addEventListener(MouseEvent.CLICK, playClicked);
     mcVideoControls.btnStop.addEventListener(MouseEvent.CLICK, stopClicked);
     mcVideoControls.btnMute.addEventListener(MouseEvent.CLICK, muteClicked);
     mcVideoControls.btnUnmute.addEventListener(MouseEvent.CLICK, unmuteClicked);
     mcVideoControls.mcVolumeScrubber.btnVolumeScrubber.addEventListener(MouseEvent.MOUSE_DOWN, volumeScrubberClicked);
     mcVideoControls.mcProgressScrubber.btnProgressScrubber.addEventListener(MouseEvent.MOUSE_DOWN, progressScrubberClicked);
     
     // create timer for updating all visual parts of player and add
     // event listener
     tmrDisplay = new Timer(DISPLAY_TIMER_UPDATE_DELAY);
     tmrDisplay.addEventListener(TimerEvent.TIMER, updateDisplay);
     
     // create a new net connection, add event listener and connect
     // to null because we don't have a media server
     ncConnection = new NetConnection();
     ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
     ncConnection.connect(null);
     
     // create a new netstream with the net connection, add event
     // listener, set client to this for handling meta data and
     // set the buffer time to the value from the constant
     nsStream = new NetStream(ncConnection);
     nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
     nsStream.client = this;
     nsStream.bufferTime = BUFFER_TIME;
     
     // attach net stream to video object on the stage
     vidDisplay.attachNetStream(nsStream);
     // set the smoothing value from the constant
     vidDisplay.smoothing = SMOOTHING;
     // set default volume
     mcVideoControls.mcVolumeScrubber.x = (53 * DEFAULT_VOLUME) + 645.25;
     mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 698.25 + 53;
     setVolume(DEFAULT_VOLUME);
    }
    


    The function is called at the bottom of the rest of the code.

    The code I use to enter dialogue in holder.fla is:

    var img1Request: URLRequest = new URLRequest("videos/3-2-10.swf");
    var img1Loader: Loader = new Loader();
    btns_mc.marchImg_btn.addEventListener(MouseEvent.CLICK, clickEvent);
     function clickEvent(event:MouseEvent):void{
      img1Loader.load(img1Request);
      img1Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadNowEvent);
       function loadNowEvent(event:Event):void{
        container_mc.addChild(img1Loader);
       }
     }
    

    Any help is greatly appreciated!

    pigeon7081

    It is close.

    Just remove this line of code to myconst() and you should be good to go.

    p.s. Please mark this thread as answered.

  • An error in this Applescript that I can't understand

    Hi, I searched some forums and found this script below which I modified. It works great except for a single statement:

    runScript If = 1 then number error -128 I want the script to do is, when a USB drive is mounted and is in the ignoredVolumes as "USB Untitled" I want the script to stop. What I can't understand is, runScript is set to 1, "Untitled USB" Monte, runScript is not changed, why don't the script stops with an error "user cancelled"? On the other hand, if a key USB Monte is not in the ignoredVolumes, runScript is set to 2 and copy the file I want it. What hurts? It's probably something that will be very obvious when I see the answer.

    Thanks for any help with this problem,

    Mike.



    property ignoredVolumes: {'10,10 30 1. 5 't', 'files 1. 5 't', "Untitled USB"} - add if necessary

    property videoExtensions: {"avi", "mov", "mpg", "wmv", "mp4" and "mkv"}

    the value newVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / new")

    the value oldVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / old")

    game runScript to 1

                   tell application "System events".

    the value rootVolumes to disk (POSIX file ' / Volumes ' in the text)

    the value allVolumes to name of every element of disc of rootVolumes

    the value numofallVolumes to the County of allVolumes

    Repeat with the present book in allVolumes

    say application 'Finder '.

    if (the present book is not in ignoredVolumes and (this book as text) is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    runScript If = 1 then number error -128 - it does not give a 'User cancelled' error when "Untitled USB" is mounted

    runScript If = 2 then

                                                                            try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / new ") as text) to newVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in folder a." buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    Try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / old ") as text) to oldVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in the folder B" buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    display the dialog box "USB key will Auto Eject in 10 seconds or click OK... "buttons button 1 with the title"copy Complete - Eject? "default {'OK', 'No'} which gives after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the button returned of result is "OK" or gave up a result then ejection of the this book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    end if

    end if

    end if

    end say

    end Repeat

              end say

    The way in which your external block If is currently based, the script can't do anything when this book is in the ignoredVolumes, it can not yet test the runScript value. Try something like this:

    If the present book is in the ignoredVolumes then

    game runScript to 1

    on the other

    if (the present book as text is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    end if

    end if


    Of course, you need to remove a "end if' the end of the script.



  • Confused about replacement of the object style that I can't understand

    Hello

    So I'll try to understand and to clean up a book a bit messy, I inherited (lots of inconsistent style and replacements). There are a bunch of boxes that have a style of object applied to them, but seem to have odd substitutions, which I can't understand how even got implemented Medallion.

    In particular, they have a substitution of "text frame General Options (spacing inset at left; Inset spacing on the right. I can't understand how you can even replace the object for this style.

    Even more strange, the paragraph style has a right of withdrawal. 0625 "and the withdrawal to the left of 0, but on the screen, I see the left indent is also. 0625 ". Even if it is not specified anywhere.

    Inside the style, is the inset spacing. 0.25 "right and left 25" and it's actually how the text is aligned. But it is clear lines on screens as if there is a left and right inset of 0,1875 "and a withdrawal of paragraph 0,0625 on both sides, when styles don't say this.

    Why do I care about all this? Well, I need to convert this CS6, and when I did, I found an extra. 0625 "Indent on the right side causing overset text. This led me down this rabbit hole.

    I know I have to get rid of all completely replacements and I intend to do at some point, but I can't do it right now for reasons of time, and I'm also actually really curious what is happening here. Anyone have any ideas? Thank you.

    You have shown a paragraph style, but not necessarily one that is actually used. I have no way of knowing what calls for the definition of object style (but I see a substitution for the paragraph style), or what style is assigned to the text in this framework.

    Messed up, it is probably a good description of the current state, but to understand what is wrong, you will have to dig into what is really defined as opposed to what the appeal of styles to, then delete the replacements or redefine styles to give you what you want and probably some of both.

    You can use find/replace to find a style and replace it with itself to remove the replacements, I recall.

  • How to change the default language of FF in a a way that people can actually understand (!)

    I do not know if someone there realized this yet, but the main reason on why someone would want to change the language on FF, it's because we want to understand.
    To make a tutorial simply writes things like 'click settings, then select the languages', etc, that's exactly what to say to a blind person lost in a maze of look at the map to find the way out (!), do you think I would be here if I understand that a she who? Honestly!
    What you need to do, is be written a tutorial that say things like "click on the first, second, third line and then uncheck the item 6, etc.", or add images, so we can figure out who's who.
    I tried to select random items in the menu, and I find something about the language, but no luck! There is something else that should be changed.
    I'm sure many would appreciate an effective solution to this headache... Oh and if you would give a choice to choose in which language to install your browser as almost all software developers do decent, it would almost be no need for this tutorial, a user of IE9.

    Type of topic: preferences #content< enter > in the address bar.

    On the bottom of the page, find languages.
    To his right, press the Choose button. Make sure that the
    District and the correct language is selected.

  • my windows pc very experience 1, I am embarressed to admit that I can not understand how to configure the windows/outlook e-mail system. This pop and smtp or what ever Q was, I still can't understand.

    I'm unable to set up Outlook, or now called windows mail, I think. but for the life of me I do not understand how to configure the e-mail program that comes with now it windows Vista 64 that came on my new pc.  can someone please?  Thank you

    Windows Mail is/was not Outlook.

    Windows XP e-mail program called Outlook Express.

    Outlook is a part of the office.

    Windows Mail in Vista is the replacement of e-mail for Outlook Express (XP) program.

    Read this section on how to set up Windows Mail in Vista:

    http://www.SimpleHelp.NET/2007/02/07/a-beginners-guide-to-setting-up-Windows-Mail/

    Link above has an easy to follow Guide to set up Windows Mail.

    Contact your ISP (Internet Service Provider).

    They offer your broad band/Dial-up connection.

    Ask them to:

    username
    password for your service account to wide band/Dial-Up with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    The above information is required to set up Windows Mail.

    ISPS are usually happy to help you set up your email account.

    See you soon.

    Mick Murphy - Microsoft partner

  • After upgrading from firefox (on MAC), whenever I start Firefox it is an installation open - dialog box that I can't understand how to remove.

    I used Firefox without problem, on my Mac, for several years. I've recently updated to v22.0. Now everytime I open Firefox, there is a dialog box (marked "Firefox, 2 parts in stock") that appears with the Firefox icon and arrow pointing to the right and a folder icon. Looks like I wonder again to install Firefox. I've done several times, but the dialog box never goes away. I clicked and press "eject only firefox." The dialog box disappears, but reappears the next time I open Firefox. Firefox seems to work normally, but this installation glitch is annoying. How can I solve this?

    How do you open Firefox... leave an icon on the desktop or in the dock?

    What happens when you open Firefox from the Applications folder?

  • My photos download broken and saturated in Lightroom.  It is an expensive long road to understand that that was the problem.  It's a problem that I can not understand.

    For so long now, I've been download my photos in Lightroom and oversaturaturated they arise and broken.  I can't explain the flaws of the saturation but have a screenshot.  I thought for a long time it was a problem with my camera but recently noticed in the file of the photo outside of Lightroom, the photo looks very good.  I have a screenshot of a side by side.  Can someone help me?

    THE LEFT - ORIGINAL FILE LAW - LIGHTROOM DOWNLOAD

    WHAT IS GOING ON HERE?

    Screen Shot 2015-11-25 at 9.48.08 AM.png

    That's your problem. They should all be zero. These settings will cause that solarization effect you see.

  • Apparently easy AS2 code that I can't understand...

    Long story short, I just want to be a mc (acting as a button), when I click it tells an instantiated mc to move one image, and if I click on the button again the mc instantiated goes back one frame. Another way to look at it is, click on advance once an image, click on go back again a framework. Clicking repeatedly alternates.

    Using AS2 I am a bit confused and I tried from Google and I ask my friend who is more than an AS3 coder. Initially, I put the var function in the event after the one (release) which gave me no errors. My friend said that if the var statement is in the result will always be true.

    I must admit that I am certainly not familiar with conditional statements and this will be my first attempt to do so. My confusion was how does the know what true and false. I was told to put forward =! before would be inherent in the mechanism of switching based on the Boolean statement active.

    var before: Boolean = true;

    We (Release)

    {

    If (towards front = true) {}

    _parent.keyboards.nextFrame ();

    } else {}

    _parent.keyboards.prevFrame ();

    }

    Forward =! front

    }

    You are welcome.  AS2 can be written in the timeline like AS3... If some Protocol obliges to use code on(), who defined it needs to be educated.

  • I get an error BCCode windows that I can't understand. Help! -BCCode: ea

    I'm getting "BCCode: ea BCP1: FE902DA0 BCP2: 82592308 BCP3: 828D9AD8 BCP4: 00000001 OSV: 5_1_2600 SP: 3_0 product: 256_1" is - anyone know what it is?

    Hello

    1. what operating system is installed on the computer?
    2. when exactly you get the error?
    3. don't you make changes to the computer before the show?

    Step 1: I suggest to start the computer in safe mode and check if the problem persists.

    Start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: If the problem is resolved in safe mode, I suggest you perform the clean boot and remove the program that is causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: Follow step 7 clean boot KB929135 article to reset the computer in normal mode.

    Additional information:
    Resolve stop (blue screen) error in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    Note: When looking for errors of memory you may lose data. When you perform the upgrade in place make sure that you back up the data.

  • A solution to the "unable to connect to the NFS server" that I can't understand

    (This question is related to the interaction between ESXi and FreeNAS and talk a lot here, but the solution was finally on FreeNAS configuration change, so I hope it's ok that I post in this forum.  It relates to the use of FreeNAS of ESXi).

    I have a FreeNAS system set up specifically for the copy of the virtual machines of my ESXi server as a backup mechanism.  I tried to mount a NFS of FreeNAS disk and ran in a (what appears to be, from discussions on the forum, a common place) problem.  ESXi, during an attempt fix the part gave me the "unable to connect to the NFS server" message.  The search in the log files, I could see some more detail, but nothing that pointed to a solution.  I also searched the logs on the FreeNAS system, nothing helps.

    I was using the IP address of the FreeNAS (static address) system instead of the DNS name when you are trying to reach the storage.

    After hours of trying different methods, creation of username on FreeNAS trying up to ESXi, scouring through all the various points of ESXi config, etc. I am getting nowhere.  Then I came across a post somewhere (not here on the forums, but in a blog somewhere) that said add the ESXi server to the hosts on the FreeNAS system file.

    Once we added - bingo-test.  ESXi logged in straight away and I am running.

    Now, I am trying to determine why the addition of ESXi machine to the FreeNAS hosts file would allow ESXi to connect.  Anyone have any ideas?  The IP address of the ESXi system was already in the allowable range set up in the UI on FreeNAS.

    Thanks in advance.

    Mounting NFS export list process requires the resolution of the customer's name. When a customer initiates the request for an NFS share, server checks its list of export for the requested directory and the name of the customer in this access list for this particular action. Now if the server fails to resolve the name of the initiator denies his request for the mounting of this share. In order to overcome this problem, you must have a dns server in the network, or do you have enter you the names and information of IP address to the server hosts file

    Naeem Holy

  • I have a new tab add that I can not uninstall

    I have this stupid the new tab page that I can not understand how to get rid of. I have my home page on facebook, I checked my installed programs and there is no adware or toolbars or anything either. I checked in the menu add-on and its extensions, and there is nothing unusual. I can't understand. It is called 'sweet-page', and I'm sure others have had the problem. It seems to be hidden to himself. I even tried the instructions to uninstall THEIR page, and it didn't work. I just tried to UN and re - install Firefox and it does not fix it. Need help please, this is not kill my computer or anything, just really annoying. Thanks in advance.

    Where you cannot find in your search, there is a separated and hidden to new tabs setting: they do not automatically follow your homepage settings.

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked.

    Success?

    If this is not successful:

    • If Firefox had refused to register your change, check the Control Panel, uninstall a program, to 'Protect search them' and delete it.
    • If Firefox ignores the setting, one of your extensions may be the substitution of her.
  • I can't understand why the latter splits the live preview... but not in the browser?

    I finally got my site to the top and everything runs great... except that I can't understand why this page behaves as if it was too broad.

    http://www.johnnez.com/mainbooks.html

    He is defeated in the live preview... but not in the browser preview.

    Thanks for the tips...

    Jn

    Well, I was looking at your code for a longer period that is now in good health and the only thing I can think is to ask if you want to have two container div with a class of content?

    I don't know if it's the anser but you can try to delete one of these and then find an of the

    Tags to balance that up.

    Try just to comment on the following:

    Then put in the comment end tag and see if that helps.

    Just a thought

    Martin

  • Accidentally, I chose different language that I don't understand on Apple TV. How can I go back to this first stage in?

    Accidentally, I chose different language that I don't understand on Apple TV.

    How can I return to the language selection?

    See change the language on your Apple TV - Apple Support.

    TT2

  • I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    Hello

    Contact the Support of IDM in this regard.

    The link there is a Support tab on the top right > run the mouse cursor over them for the Support Options > 'how to use IDM.

    http://www.internetdownloadmanager.com/download.html

    See you soon.

Maybe you are looking for

  • Unable to connect to a filtration gmail account

    TBird has worked well with my standard Gmail account. Today he keeps asking my gmail password when connecting. Address, email and password are filled correctly, he continues to ask for a new password. What's not here?

  • Partitioned hard drive share info?

    I followed the instructions of Eric Root (thanks), partitioned the hard drive and installed El Capitan.  El Capitan works completely separate or shared information with the original Mountain Lion?  (I did not migrate about Mountain Lion.) My reason f

  • Windows 7 on U945 S4110

    Hey!Is it possible to install on the Windows 7 laptop?I tried to install the USB at the start, but I can't.

  • Button bar (or TABS) absent tasks.

    One of the problems at the same time, how to get back my task bar buttons? More info... IN BRIEF - main problem - is now the bar of task (or TABS) buttons missing. XP Home SP3 after crash, IE8 / google chrome / disk management analysis and defragment

  • LaserJet M451: Assembly output duplex

    I have a Laserjet M451, and I like it.  But, I can't understand how collect the copies.  I just print a document of 34 pages, two copies, duplex, and I had 1, 2 Pages and then the Pages 1, 2 again, then two copies of pages 3, 4 and so on.  So now I h