Calculate the value of the field based on the value of the user input field

Hi all

We use a BPM 11.1.1.5.0 with feature pack. We have BPM form which has five fields all the text in the input field. The user will enter any amount in these fields. We have another field in the form that displays the sum of the field all five. This should add the input value dynamically when the user navigates out of a field.

I'm not able to think how I can achieve this. It is valuechangelistener I need code. Should I use a java code to get the value of the entry field and make the calculation in the java code and then assign it to the output field? or is there an option/BPM feature that allows to avoid java coding.

Thanks in advance

Sachin Gupta

Add this as an idea because you asked how this could be done without Java code.

If all five digital and no other item reference fields cannot be empty or null, you can:

(1) for each of the 5 numeric fields, expand the section "Behavior" property and set their properties Autosubmit true. As you look at each of the 5 areas, note the text in each of their property 'Id '.

(2) for the numeric field (I'll call it the "SumValue" field), you added that you want to add the other fields, expand the "behavior" property section-> click the arrow to the right of the property 'PartialTriggers'-> in the transfer dialog box that comes up, select each of the 5 areas (those you find the ID of the first step) and their shuttle above the selected list-> click OK-> look at your PartialTriggers for the field of SumValue property - it should now display the ID 5 with spaces between them.

(3) open each of the 5 areas and copy the text in each of their properties 'Value' (e.g. #{bindings.) Salary1.inputValue}) and paste this text for each of the 5 text fields in your text editor in a text-> if editor is

#{bindings.Salary1.inputValue} #{bindings.Salary2.inputValue} #{bindings.Salary3.inputValue} #{bindings.Salary4.inputValue} #{bindings.Salary5.inputValue}

to take

#{bindings.Salary1.inputValue+bindings.Salary2.inputValue+bindings.Salary3.inputValue+bindings.Salary4.inputValue+bindings.Salary5.inputValue}

(4) select the field 'SumValue'-> again in the property Panel, delete the text in the field 'Value'-> paste the text you created in your text editor in the 'Value' property of the field SumValue.

Tags: Fusion Middleware

Similar Questions

  • Get errors for the user input data filter no KB 911895 HID

    OT: iI have windows xp S/P 3 installed also apple i pad I get errors for the user input data filter no KB 911895 HID
    What should I do to get rid of this popup that wizzard windows keeps giving me?

    Hi Graybeard,

    What is the exact error message you get?

    HID Non-User Input data filter is an optional update. I suggest you try the steps from the following link:

    The screen saver does not start after the installation of a wireless pointing device
    http://support.Microsoft.com/kb/913405

    What version of the operating system Windows am I running?
    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update
    http://support.Microsoft.com/kb/910339

  • How to get the user input to dynamic Action confirmation message?

    Hi guys,.

    I use apex 4.1.

    I added a page dynamic Action confirmation message box. How can I get the user input to the confirmation pop up?

    Thank you

    Hello

    you do not directly get user input. But you should still be able to get what you want. Suppose you have a dynamic action which fires for a 'change' (or other) and who has two or more actions

    (1) confirm
    (2) execute the PL/SQL Code

    If the user clicks Cancel/no in the confirm dialog box, APEX stops execution of this dynamic action and not run "run the Code in PL/SQL.

    Hope that helps
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • To get the value from the user input

    Hi guys,.

    I have a .sql file, I need to get the feedback from the user and date to treat more end passing as a parameter in the procedure

    test. SQL

    Proc_process (p_in = > lv_in p1_in = > lv_in1);

    Once the process described above is then ask the user to change the table with the name of columnn like col_1

    Press on Y to continue or N to exit

    ALTER table T1 add col_1 date;

    I want these operations to be performed when run test.sql

    Hello

    Maybe something like that

    accept option_1 char prompt 'Do you want to alter table T1 ? ( press y to continue n to skip ) : ' default n
    accept option_2 char prompt 'Do you want to alter table T2 ? ( press y to continue n to skip ) : ' default n
    
    prompt alter table T1 : &option_1
    prompt alter table T2 : &option_2
    
    BEGIN
      --
      IF upper('&option_1') = 'Y'
      THEN
          DBMS_OUTPUT.PUT_LINE('>>>>>>>>>>> ALTER TABLE T1');
      END IF;
      --
      IF upper('&option_2') = 'Y'
      THEN
          DBMS_OUTPUT.PUT_LINE('>>>>>>>>>>> ALTER TABLE T2');
      END IF;
    END;
    /
    
    undef option_1
    undef option_2
    
    prompt @d:\temp\test_accept_2.sql
    

    concerning

    Kay

  • How can I return the user input?

    Hey everybody, I tried to go back to user input. I mean, I don't have up here the code that provides a text field and a submit button which will take you to the next page. On this page, however, I want to what the user has entered on the previous page of printing. I posted my code so far below:

    < name of the form = "form1" method = "post" action = "" >
    < label for = "input" > < / label >
    < input type = "text" name = "input" id = "input" >
    < / make >
    < do action = "return.html" > < input name = "Submit" type = "submit" id = "button" value = "Send now" / > < / make >

    Yes, pretty basic but I did research on this for awhile and I can't find how to do anywhere. My back page is just blank because I don't know what I need for it. Any help would be appreciated, thanks!

    Just install a test server local like everyone who develops the way you're supposed to do. Use a remote server as a test server is certainly NOT the recommended way to test your developments! Inexperienced developers or those who don't know any better will use a remote test server. Don't do it! Use the professional and secure to set up a local test server method to test your developments locally before you upload to a remote server.

    Google local test server for more information.

  • Dynamic stamps with the user input does not work in Acrobat DC

    After the update to Acrobat DC our dynamic personalized stamps no longer work. Pop ups to enter the data of the user are not more. When you open the PDF stamp if they work, but on the stamping stamp is affixed just without asking for user input via javascript.

    Any ideas on how to solve this problem? Is this a bug? Disabled Adobe functionality?

    K

    You should place as the custom calculation of one of the fields script and modify the code to check the stampName property.

    Search for information on dynamic PDF badges. There are many examples and code snippets out there in how to do it properly.

    There is even a whole book dedicated to this topic by Thom Parker.

  • Validate the user input problem

    Hello

    How do I validate to match two entries of the user? For example, if there is a field where the user must enter their password, then you will also need to confirm the password again in another area. How to validate to ensure user enter the same password in the two fields?

    You must run all your controls error before you insert the record in your database. This is a preview of the type of conditional structure you need:

    if (insert form has been submitted) {
      // create an empty array for errors
      $errors = array();
    
      // run the tests for password match, username length, etc
    
      if (!$errors) {
        // run the access number check
        // if the access check is OK, go ahead with the insert
        if ($accessFound) {
          // insert the record
          // redirect to another page, if required
        }
      }
    }
    

    Note how the conditional statements are nested inside each other. The first checks if the form has been sent. If it isn't, nothing happens. Then, you create an empty array for errors and run your conditional statements that verify the length of user name, etc..

    If there are no errors, $errors will be empty. Empty array is equal to false, so if there are any errors! $errors will be set to true.

    Only if there is no error, check the access number. Finally, if the number of access exist, move forward with the INSERT query.

    If there are errors or $accessFound is 0, the INSERT query will not be executed, and you go back to the same page, where you can view the error messages.

  • Order of execution for explicit file dialog boxes and query the user input dialogue

    Hello

    In my VI I use 1 and 2 express file dialog boxes prompt the user for input dialogue box. Y at - it any easy way to determine an order of exuction for these express dialog boxes? Or I have to use screws to notify?

    In fact, I just need the input of fo dialogue to prompt the user to be the first.

    Thanks for the tips!

    Martin

    Like most of the functions, the flow of execution can be set by plugging the error / mistake on clusters.

  • Disable an entry to build the table according to the user input

    Hello

    I'm using labview to perform a mass spectrometer.  I made a program to monitor up to five masses, where it sends mass to mass spec (DAC) and then receives data (analog signal) and the locations / records, it is then repeated for the next four masses before returning to the first.

    I have five controls on the front panel, where the user can enter and then the five masses that they wish to follow.

    My problem is how to disable some of the masses, if I only want to follow masses 1,2,3 or 4 instead of five.  Because obviously, it takes more time to complete each cycle with the masses more.  How can I disable the entries if the user upgrades to zero for example?  Or have a way to control the masses to follow.  Who will stop the five tensions sent through DAC and send only 1,2,3 or 4 depending on what is selected?

    I enclose my vi.

    I don't see a Structure of the event in your vi. It is the best and easiest way to capture the change event and manipulate. Search Help on the Structures of the event and you will find many examples. You need the full version of LabView to have access to the Structure of the event.

  • How temporary disable the user input?

    I want to input from the user to disable temporary (mouse and keyboard) so that a task is the treatment to avoid the unwanted problem.

    setEnabled() false on framework allows to disable everything and it works like I want to, but it also stop the user to close and move the frame that is not I want.

    any suggestion?

    Thank you ~.

    works for me GlassPane http://download.oracle.com/javase/tutorial/uiswing/components/rootpane.html, two examples for this http://www.java2s.com/Tutorial/Java/0240__Swing/1321__GlassPane.htm, the best solution for this on the blog http://tips4java.wordpress.com/?s=glasspane of the camickr, another... on google

  • Is it possible to change the URL of the submit button link is based on the user input?

    I have a separate html page that does this with a php script, but I had help to create this php file which is just a form that allows users to enter a password that I give them who will then simply link to an external html page.  Since I do not know php, I think a possible work around could be to have a text input box that would allow a user to enter (passwordA) then click on submit to load (pageX.hmtl) or they could enter (passwordB) and submit would charge (pageY.html).

    If anyone knows how I can link my new flash with my .php file project, it would be great, or if there are AS3 code that would do this I though!

    use:

    submit_btn.addEventListener (MouseEvent.CLICK, navF);

    function navF(event:MouseEvent):void {}

    {if (passcode_txt. Text is "passwordA")}

    navigateToURL (new URLRequest ("http://www.site1.com"));

    } else {}

    navigateToURL (new URLRequest ("http://www.site2.com"));

    }

    }

  • How to store the user input data and access to my reports?

    Hello

    I'm using: RunState.Root.Locals.StationInfo.StationID = Step.Result.Response expression in my sequence Meassage Popup, to get the ID of the station at run time and save it on my report. So far, it works.

    Problem:

    My goal is to buld an exectible that is deployed to other machines, which will require a time of entry of the Station ID and used on all reports. for example even if I restart the execitable, for the program to get it saved ID and place it in the report.

    Where should I keep the ID? How can I including accessing and inserting new reports?

    By default, the data in the StationInfo container should be contained in the report, so you can just have a statement similar to:

    RunState.Root.Locals.StationInfo.StationID = StationGlobals.CurrentStationID

    You would have this statement at the point of your sequence when you want to determine if a guest must be displayed to enter the ID if it does not exist.

    Hope that helps, let us know if you have other questions about this!

  • Can I restrict user input in the fields of characters?

    Hello world
    I'm new to forms (using version 6), and I try to limit user input in a CHAR field, of a set of characters, say 'A', the of ' and 'X '. With numeric fields, I can use the Value property of permit/more.

    Is there a way to limit the user input in the fields of characters?

    Thanks in advance
    Oscar

    Is there a way to limit the user input in the fields of characters?

    Yes, but you will have to code your limitation of the when-validate-Item trigger (VMI). As you have discovered, there is no property that allows you to establish the equivielent of a "check constraint" on your article.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • Element of Interaction of the user - settings no.

    I am trying to create a workflow with an user interaction component, but when I run the workflow and user input is required the interface shows all the fields. I tried linking to existing attributes as well as external contributions new creation but could not get anything except the description field for the item of user input to display. The entry workflow appears without a problem when I first run the workflow but after that I can't find a way to display to the user entry fields and continue the workflow.

    I don't get the same message "No setting" if I choose weboperator view or right-click on the workflow paused and choose the answer.

    It's something simple I'm missing?

    Hello

    I think I've discovered what the problem is. There is a problem with UTF-8 characters, such as those that probably exist in the content of your files. The problem arises when these characters are assigned to an attribute of a workflow and a piece of the User Interaction is present. This is the trickiest part as it apears if the user input is invited, after that the value is present, it's why you do not experience this problem when the user is before the retrievement of these files.

    I can suggest this work around for you - encapsulate the logic that sends the e-mail interaction and expectations for the user interaction ('Send interaction' and "Do you want to apply") in a separate workflow. Then replace these 2 elements with this workflow in your current workflow.

    Please reply if this is the problem and if workaround fix it

    Tony

  • Designer-as defined by the user of the Extensions

    I am to evaluate SQL Developer Data Modeler as a possible replacement for Oracle Designer. I wonder if the SQL Developer Data Modeler provides functionality similar to the notion of user-extensions in Oracle Designer.

    For example, I would like to be able to specify a classification marking on each name of the entity. Ideally, I would be able to specify that a new type of data and labels of property for the purpose of the entity and the SQL Developer Data Modeler would make a new field in the section of the dialog box properties of the entity, similar to how to manage this problem with Oracle Designer. Then, I would add a custom rule to define a default value or validate user input.

    Any information that anyone could provide would be greatly appreciated.

    Thank you.

    This type of functionality will appear later.

    Philippe

Maybe you are looking for