How to detect the approve/reject button in the form

Hi, I created a process and after the kickoff of the process, affected user can approve/reject the form in the workspace. Can I detect which button is pressed in the form and perform a different validation before the form is sent to the server?

For example, the form had to field & field B, if you press the button approve, to field will be a field of manadated and if rejection touches, field B will be a field of manadated. As in my form, I only got a "submit" button and the approve/reject button is generated from the workspace, so I do not know how to detect which button is pressed in the form? Thank you.

There is no need to put the approve/reject buttons on the form. Simply areas of process.

Next post might be useful: http://forums.adobe.com/message/1356826#1356826.

Jasmine

Tags: Adobe LiveCycle

Similar Questions

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

  • How to detect the sign of a number?

    I output which gives the number of negative or positive. My problem is how to detect the sign of the Boolean number and output? For example if the input number is negative as - 23.11 I want to output the value false and if the number is positive as 17.99 I want to output true.

    T H A N K S!

    Test if the number is greater than or equal zero.

  • How to detect the key ALT pressed in os7

    Hai,

    How to detect the key ALT pressed in Os7...

    Can I use the source for os 7 as below? ,

    protected boolean keyStatus (int keycode final, time final int) {}

    If (Keypad.key (keycode) == Keypad.KEY_ALT) {}

    ...

    Returns true;

    } else

    Return super.keyStatus (keycode, time);

    }

    and also I want to know which is the return of this method? In detail
    How to detect the other touches also?
    What are the updations or changes in the code, on os6 os7?

    KeyCode is a bit model, if you use "is" to compare you won't get accurate results, you should use the operator '& '.

    See
    http://supportforums.BlackBerry.com/T5/Java-development/detect-ALT-and-shift-key-clicks/Ta-p/444976

  • How to detect the number of created quickobjects

    How to detect the number of quickobjects created? quickobject are quickbox2d.

    Basically, I have a timer that will countdown to 4 seconds and it will create a falling ball, it will get removed when she falls down. However, I want only there so that if more than 5 bullets are in step, it will cease to create until it is less than 5 to start creating some balls again. Is there a way I can do?

    It's the timer to create the ball

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (TimerEvent.TIMER, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

    check the length of _balls_array.  If it is greater than 5, do not create another bullet:

    If (! _ballCreation_timer) {}

    _ballCreation_timer = new timer (4000);

    _ballCreation_timer.addEventListener (IMER TimerEvent.T, _onBallCreationTimer);

    }

    _ballCreation_timer. Start();

    Function which create the ball based on clock

    function _onBallCreationTimer (e:TimerEvent): void {}

    _doCreateNewBall();

    }

    function _doCreateNewBall() {}

    If (_balls_array.length<>

    _ball_quickobject = sim.addCircle ({x: PHYSICS_SCALE * (960), y: PHYSICS_SCALE * (10), RADIUS: 0.5, draggable: false});

    MAKE A LIST OF BALLS

    _balls_array.push (_ball_quickobject);

    }

    }

    This is the part where if the table (QuickObject) ball falls down and are destroyed

    addEventListener (Event.ENTER_FRAME, _onEnterFrame);

    DRAW EACH BALL FALLING OUT OF THE SCREEN

    function _onEnterFrame (aEvent: Event): void {}

    for each (var quickObject: QuickObject in _balls_array) {}

    BALL FALLING OUT OF THE SCREEN?

    If (quickObject.y / PHYSICS_SCALE > 1080) {}

    _doHandleBallOffScreen (quickObject);

    }

    }

    }

    DESTROY THE BALL FALL OFF THE SCREEN IF

    function _doHandleBallOffScreen (aQuickObject: QuickObject): void {}

    DESTROY THE OBJECT

    aQuickObject.destroy ();

    REMOVE FROM THE CUSTOM TABLE

    _balls_array.splice (_balls_array.indexOf (aQuickObject), 1);

    }

  • How to detect the color pages in a PDF file?

    I use a plug-in of Acrobat C++ read/modify a PDF file.

    I need to get the total number of pages in the PDF file and the page numbers of the pages in color.

    So far, I was able to get the total number of pages using PDDocGetNumPages() with no problems.

    However, I can't find an API that lets me know if a particular page is color or not. Is there a way to do this?

    Thanks in advance!

    But what happens if there are RGB data which means black or grey (R == G == B), that means black or RGB?

    There is a code sample in the SDK to browse content in the PDF file, and then you can get the color space and color of each object.

    But you really need to do background research on the colors & spaces to achieve this properly.

    From: Sachintha81 [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Wednesday, February 8, 2012 16:57:10-0800

    To: Leonard Rosenthol [email protected]<>[email protected]>

    Topic: How to detect the color pages in a PDF file?

    Re: How to detect the color pages in a PDF file?

    created by Sachintha81http://forums.adobe.com/people/Sachintha81> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/4194889#4194889

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • How to add the form designed in adobe acrobat pro live cycle Designer?

    How to add the form designed in adobe acrobat pro live cycle Designer?

    I want to add the form designed in adobe acrobat pro live cycle Designer. I saved the form designed in adobe live cycle designer in pdf format. But you can't change the same in Adobe Acrobat format. I would like to add a few fields and use the fields designed by Adobe Live cycle Designer.

    You can only modify this form in LiveCycle Designer. Forms Acrobat and LCD are not interchangeable.

  • How to detect the direction of the mouse and change of scenery?

    Hello

    I'm building a single 360 degree rotation effect using individual images and buttons front and back . I am new to AS3 and have managed to create functioning buttons... (so my code can be a little weird!)

    But now, I would also like to advance frames by clicking and dragging on the image itself (or on an invisible button sitting on top of the image).

    Although there are some threads here that have asked the same thing, I don't understand how they were answered. My code is below, and the file with that I'm practicing is located on:

    https://download.yousendit.com/MVNjeFlWSWh6NE4zZUE9PQ

    Currently if you click on the area of the image, it will move forward, but there is no code to detect the direction of the mouse, he'll just before. Can someone help me understand how to set up a simple direction detection and then use it to decide whether to move forward or backward... Thank you!!

    Stop();

    move forward 1 frame on click

    function forward(e:MouseEvent):void {}

    If (currentFrame == 15) {}

    gotoAndStop (1);

    { } else {}

    gotoAndStop (currentFrame + 1);

    }

    }

    go back 1 frame during the click on

    function back(e:MouseEvent):void {}

    If (currentFrame == 1) {}

    gotoAndStop (15);

    { } else {}

    Stop (currentFrame - 1);

    }

    }

    btn_fwd.addEventListener (MouseEvent.CLICK, forward);

    btn_bck.addEventListener (MouseEvent.CLICK, return);

    change frame on direction of mouse?

    function MouseMove(event:MouseEvent):void {}

    {

    if(event.buttonDown==true)

    If (currentFrame == 15) { }

    gotoAndStop (1);

    }else{

    gotoAndStop(currentFrame + 1);

    }

    }

    }


    stage_btn.addEventListener (MouseEvent.MOUSE_MOVE, MouseMove);

    Here's an almost identical thread, I answered: http://forums.adobe.com/thread/570903?tstart=0

  • How to detect the Click event outside of a component

    Hello guys

    could you please guide me how to detect a click outside of the event?

    I have a component that has a textinpu now I want when the user clicks outside the component anywhere, textArea should get deselcted.

    How I achieve that?

    Example of project

    http://isolatedperson.googlepages.com/clickOutsideEvent.zip

    Thank you

    Flex will not take focus away from something unless the discussion is going on elsewhere.  Maybe assign focus to a "submit" button or something like that.  Capture phase listeners can see mouse events and affect the focus.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • How to detect the first keypress entry in VI reloaded

    Hello.

    I use VI popup information in TestStand that I want the user to be able to output/confirm using Enter/Return, and I use a key event down in a structure of the event to detect they keypress.

    But the problem is that when the VI is already loaded in TestStand, the structure of the event does not detect the first keypress enter/return.  If I detect the space bar, it works fine.  But enter/return still need first press key before be detected as a key event down.

    Anyone know why this is?

    Best regards

    Øystein.

    You have the game to focus on the rocker checked in the properties of the button.

    See attachment.

    Kind regards

  • How to detect the resource (find) information?

    Hi all

    I'm trying to detect programmatically information resource name for devices HSDIO PXI and PXI-4130.   How can I do?    System DAQmx property does not include these devices, and I can't find a way to convert a resource VISA name in name of resource HSDIO or NI DC PS formats.  I enclose a code snippet that detects resource VISA for a device 6552 name, but I can't seem to figure out how to get the name of MAX the device resource.   Both the niHsdio and the properties of 'name of the resource' OR DcPS requires that you spend a session valid in them need valid resource name andI to make...

    And no, asking the operator to launch of MAX and find the name of the resource is not an option

    Thank you

    Hello

    Modular instruments and devices devices use their own set of screws to find devices in the system. The lybrary called NOR-ModInst and i's includedin the palette of the utility with the MID drivers.

    Here is a small example that demonstrates the use of their base.

    Let me know there are questions of the amy

    Kind regards

    JC

  • LabWindows - how to detect the unlock key?

    My application uses a reminder with EVENT_KEY_PRESS to detect the function keys on the keyboard. A routine is executed depending on the feature key. It all works very well.

    Is there a way to tell when the key is out?

    The goal is the routine to run only once and not repeated if the user is now pressed the button for an extended period of tiime.

    Ideas are appreciated,

    Thank you

    Scott T.

    Note: You can also use this method to avoid multiple keypress for any key events.

    Scott used the example of function keys.  If you also want to avoid entering repeated alphanumeric keys, 1 return your reminder of the textbox to swallow the event, is not a new key pressure.

    A new .c file (to replace the one of my previously posted project) is attached that illustrates this.

  • How to detect the number of channels on an oscilloscope?

    I have various models sitting around the laboratory, some two-channel, a few four-channel oscilloscope.  I would like for my program to be able to detect the number of channels is available.

    I can just tell my program how much string is available based on the model number, but is there a VISA command to request scope directly what channels he has?  I would also be able to ask what, if any, ability to function math there.

    "all drivers of the oscilloscope must return the instrumentID after initialization, and that should be enough to know the number of channels.

    What Albert was referring to is that all compatible drivers IVI in their base class interface have an attribute/property that indicates how many channels has the scope.

    If you don't want to use the driver of the IVI for the scope then maybe download some of the drivers and check the source code to see how they calculate this dynamic repeated capablity.

  • How to detect the cFP-1804

    Hello

    I have a cFP1804 connected to a cFP2120 via EThernet.  The cFP1804 has a thermocouple installed package that is read once per second the 2120 by using the 'FP Read.vi"(see file attachment). When systems are interconnected, the correct values of returns «FP read» When disconnecting from the cFP1804, "PS read" still will continue to serve the received values but triggers error 33800 until the connection has been restored. So far so good.

    The problem I have happens when you reset the cFP2120 while the cFP1804 is offline. At that time a single "FP read.vi' will cause the program running on the cFP2120 to stall completely.

    No idea how to get around this problem?

    I'm using Labview 8.2.1 with RT version 5.0.1

    Thank you

    V

    Hi Volker,

    You can detect the RT and network objectives using the replication VI system. An explanation can be found in NI Developer Zone tutorial: replication of system of target in real time at http://zone.ni.com/devzone/cda/tut/p/id/3937. The download link is at the bottom of the page. Be sure to read the included Readme for installation instructions. If you run the VI find all targets, you will be able to test if the cFP-1804 is on the network.

Maybe you are looking for