Realizing automatic calculation in the form field Oracle Apex.

Hi all

I m facing a problem in my Apex Application.

I have three ActualAmt, CommAmount, and Comm % fields in my form.

My requirement is when % ActualAmt and Comm is entered then automatically CommAmount should be calculated on the basis of ActualAmt and Comm %, in the second case, when I enter ActualAmt and CommAmount Comm % should be calculated on the basis ActualAmt and Comm %.

I have included my formula in Post calculation calculation but does not.


Please help find the solution.


Concerning

Thanks, Mindmap, it worked.

Tags: Database

Similar Questions

  • Problem in the form of Oracle Apex 4.2.5 manual insertion process

    Hello

    I am not able to insert data through tabular presentation. I created manual Insertion and query update, update data are happing but can't insert a data get error line 6' insert. I have the trigger on insert. Please help me to get the process of manual insertion in table form.

    Kind regards

    Harish Sharma

    Why no one is using the new processing system where you don't need the loop in the table and can use the normal syntax with regard to page elements, that references the columns as tabular

    : column

    For example:

    BEGIN

    INSERT INTO task_entries

    (NAME, env, demo

    )

    VALUES (: NAME,: env: demo)

    );

    END;

    Denes Kubicek

  • Disable the number of assets to other Tab in the form of Oracle by customization

    Hi all

    I am new in the form of oracle, I have other tab-> hv one query how disable/hide a tab of Enterprise Asset Management-> the number of assets through customization.
    What trigger is used with the State and who carry out Actions. Please help me...



    Thank you

    Try the following
    Use a customization times-new-form-instance and disable all fields on the tab OTHER. Once all fields are disabled, I think that the tab is disabled too.

  • How can I change the font in the form fields to fill

    I have already set the fields of a font, but want to change after I test filled in the fields of text in preview mode. but now when I highlight the fields and select properties and select a different font and size, it shows the new selection of fonts but the fields will not change what has already been entered. I tried to change the field and delete the text and Fain same original font type and size is still there

    Hello.

    I guess that these areas use the option 'allow formatting of the rich text.

    Thus, it is not Properties: aspect which resulted in implementing in the form of text, thetext in the form field"' bar (CTRL-E or CMD-E).

    Uncheck the option 'Allow rich text formatting' to return to this behavior.

  • All the form fields do not paste from one file to another

    I use Adobe Acrobat DC on OS 10.10.3.

    I have a .pdf file containing form fields set up on what I want to use it as a 'model '.

    One machine I can copy the form fields and put in a new .pdf file and it works fine, but on any other machine, I tried it on it is not. On the other machines when I copy the fields of the form about 75 percent of stick them in the new .pdf.

    Is there a setting/preference on what I should check or would be - something else causing this problem?

    Thank you very much for the help.

    Replacing the old pages with the new in Acrobat is the standard way to do what you want. The fields of forms, links, code, bookmarks, comments, page/document, metadata, etc. are preserved.

  • Display of the conditional field of Apex Oracle

    Hello

    I created two Wizard page in Oracle Apex.

    I have a table point and item_detail. For element1, I have a record of detail and item2, I have two detail record.

    Step 1: Choose the section that will fall to the bottom of the roll of the order of the day.

    On step 2: based on the record number of detail items, I want to display the text on step 2 fields. If item1 is selected in display 1 thenl, textdisplay1, and textfield1 to step 2 step. If item2 is not selected ' will display textfield1, textfield2 to step 2, textdisplay1, textdisplay2.

    SQL/pl/sql condition will be: select count (*) in the item_detail where item_id in (select item_id station where nom_element = 'provided to the step 1 "

    I want this dynamic ability to display fields or at least to hide textdisplay2, textfield2 based on condition of sql/plsql.

    Thank you

    Fields / display items (or hidden) by the result of the 'Condition' selection on the page field specification APEX / point. (You have all the tabs at the top: Identification, UI, grid, Label,..., Condition,...) Condition determines whether the field is displayed. Defaults to '-point not conditional ' but if you click on the drop-down menu, there are different conditions of 30-50. There are, there's NO..., never, always. If you select "PL/SQL function body returning a Boolean", it will add an Expression 1 box in the GUI where you can write a "starting...". End; "block to return TRUE or FALSE for the condition. It display if TRUE is returned, skins, if FALSE is returned. (Someone other chime in here if I missed something.)

    It is a VERY characteristic slick of APEX. The only addiitons I could ask would be: positive, negative and "do what I mean".

    Howard

  • Adjust the text in the form field

    How do you shrink to fit the text in the form field when you fill in a document?

    I use reader XI.

    This document is a form of Government and a protection on it, if it's important.

    It is mainly for the purpose of printing and using the paper document. When you print from the field cut the text and it is impossible to read the entirty of the field.

    Thank you

    Hello jjcola

    You can do that with the Reader. You need Acrobat, please try the free trial http://www.adobe.com/in/products/acrobat.html

    ~ Deepak

  • Forms to fill out and Distribution: to flatten author text but not the form fields

    OK people, first time posting on this forum, but certainly not my first time looking for answers!  I was quite managed with other issues if I think I myself stumped on this one.

    I created the form fillable 'generic' I'm going to use to distribute to various contacts for some upcoming projects that we will participate in.  Because each project will be different, instead of having to create a new form every time, I hope that with my base model form I can enter various information with the type writing tool and somehow to protect this information to be edit/delete while allowing my contacts to enter their information in the form fields.

    I tried to apply the different variants of security features, but the downside of this is that it does not "distribute" my form so that it can be track with Adobe Tracker.  The only way I can successfully distribute this form for the masses and track responses is if all the security settings of the document are disabled.

    I hope that this logic all how I explain it.  Because the information (not the form fields) on the document sent to the changes each week, I was hoping there would be one easier way other than creating a form to complete for each new.  I'm not an expert of Actions, but it would be possible to create an Action that would "flatten" the text of the type writer only?  That would at least prevent third parties to manipulate or remove information that I placed on the document.

    This free tool based on JavaScript for Acrobat is what you need: http://www.uvsar.com/projects/acrobat/flattener/

    The typewriter tool creates a type of text box, so that you would select just this box to flatten.

  • Text shrinks in the form field. Help, please!

    How can I get the text in the form field to not not afraid? (Be as specific as possible because I'm still learning Acrobat Pro)

    Using the selection object, right-click on the field, tool select Properties,

    go to the appearance, and you'll see it there.

  • Text is not in the form field

    I created a form in Acrobat 9 Pro and received this comment from one of the users form:

    «The text in the form field does not show you what you type in until you move to the next field.» If you feel as if nothing is being filled. »

    I am not able to reproduce this behavior. Is there a setting of preference or other setting that would cause this behavior?

    In what application they opened the file? He was seen Apple, by some

    lucky?

  • StructCount bug when deleting a key of the FORM field

    Help, please.  I can't understand what I'm doing wrong.

    When I try to remove a key from the FORM field, the StructCount to the extent of the FORM remains unchanged, even if the key doesn't seem to be within the scope of the FORM any longer.  This is not the case when I create a struct in the scope of VARIABLES.  I enclose the code I used to test this.

    Is this a bug with ColdFusion?  Is there a fix / patch for this?  I use Coldfusion Enterprise version 8,0,0,176276.

    Unfortunately, I don't think you can avoid it as it seems to be a problem with the underlying FormScope class.  You could wrap your alternative 'counting' code in a cffunction.  Which would keep at least the logic in one place:

  • Dynamic action to email from automatic calculation of the fields in the form created in the APEX firstname and lastname

    Hello

    I am working in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically show [email protected]

    Thanks in advance!

    Hello

    957450

    You need to change your name to something more appropriate

    I work in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically display [email protected]

    You can use a DA to set the email in the agenda of the Email page when there is a change in the maybe the first name of the person if it follows in the order you presented above.

    E.g.

    Event: change

    Point: P169_LAST_NAME

    Action: Set

    Fires when the event is the result: true

    Parameters

    Set tYpe: PL/SQL body Funtion

    declare
    l_email varchar(40);
    begin
    l_email := :P169_FIRST_NAME||'.'||:P169_LAST_NAME ||'@oracle.com' ;
    return l_email;
    end;
    

    Page items to submit: P169_FIRST_NAME, P169_LAST_NAME

    Items concerned:

    Article: P169_EMAIL_ID

    NB: I recommend that you look at the dynamic Actions of the sample under the application package.

    Hope this helps

    Kind regards

    Benjamin.

  • How to keep the form fields empty with calculated fields

    I am to convert Excel files to Adobe forms with calculated fields.  I use the following if statement to keep the empty fields until the entry is made.

    var v1 = + getField("LengthRisersToday.1").value;

    var v2 = + getField("LengthRisersToDate.0").value;

    If (v1! == 0) {}

    var sum = v1 + v2;

    Event.Value = sum;

    } else {event.value = ";}}

    This does not work if someone from 0 in the field "today."  This is sometimes necessary in this form, as the other fields must be filled and a riser is not always added.

    This form consists of several lines and inscriptions are made there is a running total in column "on this day".



    So you say that a result no one is valid and that you want to delete a result of zero only if the LengthRisersToday field is empty? If so, the script can be replaced by:

    var s1 = getField("LengthRisersToday.1").valueAsString;

    var v2 = + getField("LengthRisersToDate.0").value;

    If {(s1)

    var sum = s1 + v2;

    Event.Value = sum;

    } else {}

    Event.Value = "";

    }

  • Create the calculated in PHP form field

    Hello

    I am trying to create a calculated field that will take care of the average of the ratings when a form is entered. This field will then submit the average value and the shape at the end (that's why I need the value to calculate before sending the form - that is, as the form is filled out).

    I found the following code (designed for HTML forms rather than PHP forms, but I hope that it might work). It doesn't seem to do anything - the field displays no information. Help?

    < script language = javascript >

    < !--/ /

    function dm (amount)

    {

    String = ' ' + amount;

    DEC = string.length - string.indexOf('.');

    If (string.indexOf('.') == - 1).

    Returns the string + '. 00';

    If (dec == 1)

    return string + ' 00 ";

    If (dec == 2)

    return string + '0';

    If (dec 3)

    return string.substring(0,string.length-dec+3);

    Returns the string;

    }

    function calculate)

    {

    Opp1 = 0;  Inv1 = 0;  COM1 = 0;  wlb1 = 0;  COM2 = 0;  Atm1 = 0;  PAR1 = 0;  Increase 1 = 0;  Rew1 = 0;  Env1 = 0;  Gro1 = 0;

    If (document.form1.Opportunity.value > "")

    {Opp1 = document.form1.Opportunity.value};

    document. Form1.opportunity.value = eval (Opp1);

    If (document.form1.Investment.value > "")

    {Inv1 = document.form1.Investment.value};

    document. Form1.investment.value = eval (Inv1);

    If (document.form1.Community.value > "")

    {Com1 = document.form1.Community.value};

    document.Form1.Community.Value = eval (Com1);

    If (document.form1.WLB.value > "")

    {wlb1 = document.form1.WLB.value};

    document. Form1.WLB.value = eval (wlb1);

    If (document.form1.Communication.value > "")

    {Com2 = document.form1.Communication.value};

    document.Form1.communication.Value = eval (Com2);

    If (document.form1.Atmosphere.value > "")

    {Atm1 = document.form1.Atmosphere.value};

    document. Form1.atmosphere.value = eval (Atm1);

    If (document.form1.Performance.value > "")

    {PAR1 = document.form1.Performance.value};

    document. Form1.performance.value = eval (Per1);

    If (document.form1.Inclusion.value > "")

    {Increase 1 = document.form1.Inclusion.value};

    document. Form1.inclusion.value = eval (Inc1);

    If (document.form1.Rewards.value > "")

    {Rew1 = document.form1.Rewards.value};

    document. Form1.rewards.value = eval (Rew1);

    If (document.form1.Environment.value > "")

    {Env1 = document.form1.Environment.value};

    document. Form1.environment.value = eval (Env1);

    If (document.form1.Groups.value > "")

    {Gro1 = document.form1.Groups.value};

    document. Form1.groups.value = eval (Gro1);

    Totamt =

    eval (Opp1) +.

    eval (Inv1) +.

    eval (COM1) +.

    eval (wlb1) +.

    eval (COM2).

    eval (Atm1) +.

    eval (Per1) +.

    eval (Inc1) +.

    eval (Rew1) +.

    eval (Env1) +.

    eval (Gro1);

    document. Form1.GrandTotal.value = dm (eval (Totamt));

    }

    ->

    < /script >

    Any suggestions gratefully received.

    Sorry for the explanation of the solution, this is why you shouldn't let dyslexia on the forums...

    Yes, you can put onChange = "calculate ()" within any html element, but it will only work for items that have a 'value' that can change, such as "

    The average value can be reported by adding any of the following lines:

    Happy scripting!

  • Calculation of the numeric fields radio button and checkbox-based response

    I am to change a form that was created by someone else.  I added checkboxes and radio buttons based on the need to form. I would like for the amount of check calculate automatically based on the selection of a radio button.  I've implemented some numeric fields to play with adding the amounts and placed them in the field 'Amount to check', but I can't seem to calculate.  Once I have to calculate correctly, I need to know how to automatically enter a number in the appropriate digital field based on the option button or check box selected.  Here is a picture of what I've put up.  Help, please!  I read all the forums, watched the videos and tried everything.  I'm so frustrated.

    MemberStatusHelp.jpg

    Don't know if I have the layout if correct me if Im wrong. I assume you have a radio button group on the top line for the first 3 check boxes and boxes (when the user selects one) for the following 2 lines (where the user can select independently of the other 3 above) with a final calculation at the end to check the amount field.

    You can either place the code on each change of each checkbox/radio button event to recalculate or just do it on the final checksum field. I tried putting a calculate on the last field to check the quantity, and it seems to do what it takes.

    Try this in the case of calculating the amount of check field

    var membershipAmount = 0;
    if ( (RadioButtonList.rawValue == "2") || (RadioButtonList.rawValue == "3") )
    {
        membershipAmount = 35;
    }
    
    if (CheckBox1.rawValue == "1" )
    {
        membershipAmount += 15;
    }
    
    if (CheckBox2.rawValue == "1" )
    {
        var txtAmount = TextField3.rawValue;
        var amt = 0;
        if ( (txtAmount != null ) && (! isNaN(txtAmount) ) )
        {
            amt = parseFloat(txtAmount);
        }
    
        membershipAmount += amt;
    }
    
    this.rawValue = membershipAmount;
    

Maybe you are looking for