Calculating fields in forms

Help -- I am tryiing to get certain fields in a form to calculate based on selection of other fields.  The fields to be selected already have values in them.  (The same format I have used for several years, just new set of forms)
I get through the point of setting up the field properties to calculate and I select Sum of...   Then it simply will not let me select any fields to use for calculations -- unless I select all fields.
Please -- this is time sensitive and urgent any help responses needed and welcome!

Use the space-bar, or click a bit off to the center of the check-boxes on
the left of the field names in the list.

Similar Messages

  • Best Solution for Creating an Onlne Purchase order form with multiple calculation fields

    I am a bit confused.  Our school has a Forms Central account which works great for our registration forms but I need to find a solution for creating an online purchase form with multiple calculation fields - I know that forms central does not support calculation fields (too bad) but I know that Acrobat Pro does... soooo...
    Can you create the forms in Acrobat and then somehow integrate the advanced features into forms central?  Do they talk to each other?  Is this easy to do? .... I guess another way to putting it is can you create the forms in Acrobat including all of the advanced features for payment calculation and then host it online using Forms Central to manage and collect the data? (I guess that really is my question)
    Thanks (how does this compare to a solution like Formstack?)

    Hi, thanks.
    The naming convention was the consistant up until a point when I read that you need a '.' syntax (?!) - does anyone know if this is true?
    Attached is a version with Bernd Alheit's suggestion and with all the naming of the fields being consistant. It's still not working for me though after doing this and I'm stuck as to why, because I think it should work. I've also tried writing the calcualting line of code in the same manner that Bernd Alheit suggests before I came on here, and it wouldn't work then.
    As with any coding, it must be something to which I have done, but I can't see it anywhere
    Any ideas? Thanks for helping me
    Cheers

  • Can I create calculated fields using formscentral on a locally created, fillable PDF form?  If so, how?

    I am using Acrobat XI Pro to build a fillable PDF form that can be used by customer who have Adobe Reader installed.  I would like to create calculated fields, including the summation of two or more currency fields and the product of a currency and number field.  The procedure for creating these escapes me.  Does anyone have any insight?

    Hi Gilad,
    thankyou! - yes it seems though I was using the text tool when I had this problem: When I had created a few fields in the 'form edit' mode I then may later have added some normal 'comment' fields of text in the normal mode to highlight certain aspects on a form - I used the text tool thinking that was the right way in to add or edit text - I can now see I double click with the hand tool to still be able to access any text field I want to. Yay!
    Many thanks for your kind assistance - I shall try this method later on a new form I was trying to create and which was giving me grief.
    One last thing then: what is that default text field that can't be deleted actually for - why is it there? After all, a 'blank pdf' should surely be a truly blank pdf? Perhaps this is one for mighty Adobe....?
    Kind Regards,
    Pete

  • Create Calculated Field in PHP Form

    Hi,
    I'm trying to create a calculated field that will work out the average of ratings given during the input of a form. This field will then submit the average value with the form at the end (which is why I need the value to calculate before the form submits - i.e., as the form is filled in).
    I have found the following code (designed for HTML forms rather than PHP forms, but I'm hoping it might work). It doesn't seem to do anything - the field doesn't show any information. Help?
    <script language=javascript>
    <!--//
    function dm(amount)
      string = "" + amount;
      dec = string.length - string.indexOf('.');
      if (string.indexOf('.') == -1)
      return 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);
      return string;
    function calculate()
      Opp1 = 0;  Inv1 = 0;  Com1 = 0;  wlb1 = 0;  Com2 = 0;  Atm1 = 0;  Per1 = 0;  Inc1 = 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 > "")
         { Per1 = document.form1.Performance.value };
      document.form1.Performance.value = eval(Per1); 
      if (document.form1.Inclusion.value > "")
         { Inc1 = 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.

    @uscart - Thanks for your thoughts. I think I may try and pursue the javascript option (considering how far I've gone with it) but don't quite understand your response. Does it matter if the input field isn't a text box? The fields are radio buttons (giving options 1-10), liek so:
      <input name="Investment" type="radio" class="star" value="1"/>
      <input name="Investment" type="radio" class="star" value="2"/>
      <input name="Investment" type="radio" class="star" value="3"/>
      <input name="Investment" type="radio" class="star" value="4"/>
    ...etc, etc, etc... for each of the input fields listed above.
    Where do I put the calculate() function? After each "option", or is there a different reference? And does it need to be added to the GrandTotal field as well (the field in which the calcualtion is to be displayed)?
    Thank you!

  • Calculated field in adobe forms central

    Can I make a calculated field in adobe forms central? For example a field that will sum total cost.

    Hi hacker413,
    Thank you for posting on the Adobe forums, unfortunately this facility is not available in Adobe Formscentral.
    Vikrantt Singh

  • Problems!:  calculated fields in Adobe Forms using the ISR/PCR framework.

    Hi there,
    I have made an Adobe form in the ISR framework. Everybody who is familiar with these forms in the framework knows that the adobe form is embedded in a standard webdynpro which consist of a roadmap with three steps.
    Step 1: Fill out the form
    Step 2: Check and fill the form
    Step 3: Submit the form. After submit the form can be send to a manager or can be directly processed in SAP HR.
    Problem 1:
    When I test the adobe form and fill in a number in a field and click on next everything goes fine. But when I click on previous step the value which I filled in before is gone and put to 0,00.
    Problem 2:
    Also another problem is that calculated fields, do not show directly when clicking on next step. When you click on next step and then previous step, then you see the value of the calculated field.
    Problem 3:
    Also another problem is with the calendar function. When I fill in a date by hand and click on next the BADI behind the form sees 00-00-0000. When I use the calendar function everything goes well.
    Who can help me with these 3 problems.
    Greetings.
    Message was edited by: Sandhya Banwarie

    Hi Phil,
       Interesting - I have a similar issue.  We want to use the Request for Transfer scenario in ERP 2005, but it has not been developed in Adobe forms by SAP yet (it isn't available in 2004 either)!  So, we have decided to use the old JSP PCRs instead.
    Your issue is probably because you're using the same 2005 iviews to create your PCRs.  The 2005 PCR iviews are written in WebDynpro, and appear to assume that each one will be an Adobe form!  If you assign the old PCR iviews to your manager (give them the old MSS role under Migrated Content->EP5.0... in the pcd if you have it installed), you will be able to create a PCR with the JSP forms (regardless of the "Entry in Web" setting in QISRSCENARIO).
    The next issue is the approval.  In 2005, transaction SWFVISU has task TS50000075 configured as Java Webdynpro.  You'll need to change that to iView, and specify ID = com.sap.pct.hcm.isrdispatcher.default.  I'm following the UWL item type guide for this at:
    http://help.sap.com/saphelp_nw04s/helpdata/en/b1/cc1357eead454bb144face4a66be7d/content.htm
    Having said this, my approval is not working!  The item type has clearly changed, because the workitem name is no longer a hyperlink (rather annoying), but when I hit the "Launch Task Page" button (default name I think) I get the error:
    "Unable to perform action because the system returned an invalid URL"
    I can't see this "invalid url" anywhere in the logs, so I can't see where it is getting it from, or what path, etc I'm meant to put!  In your old system, what did you have as the "Server for ISR call" under "Additional Data for Scenario" in QISRSCENARIO?  Also, what did you have in the "URL" box that appears under the Additional Data for Scenario button when you change the Entry Type to JSP?
    Many thanks,
    Russell.

  • Calculated Field In ADF Form

    I want to create calculated field.
    I have 2 date fields, my user case is to calculate difference between those 2 date field and display difference on the fly to user.

    You will need to write custom logic in a method of a managed Bean in your View Controller project.
    follow these steps -
    1)In the ViewController project ,create a java Class called <whatever_name_you want>.java
    2) register the managedBean in TaskFlow->Overview-> Managed Bean say in pageFlowScope.
    3)create a public method which returns a Number (of days or whatever you need) in your bean which calculates difference between the dates using Calender API (You can google for this)
    4)Bind this method to the value property of the field which shows the difference between these fields.

  • Is it possible to edit a calculated field?

    Is there a way to make a calculated field editable, overriding the calculation? My form table calculates HST on pay amounts. But not everyone charges HST so I'd like the user to be able to put $0 in the field manually. I can create an HST option box for each row but...that's a lot of "contriving" and not a practical solution ( I don't think). Is there an easier way to do this?
    Thanks.

    The HST is variable because the form is used in all provinces.
    In order to make it a no-brainer for the user, I have incorporated a check box on each row. If the check box is checked (value=1) then the HST calculation happens, otherwise the value=0. So this makes sense but doesn't work. I have adjusted the calculation order, doesn't make a difference.
    Note: I've never used java but I used to work with Access databases so I do have an understanding of the language/logic, hopefully enough to help me learn this quickly.
    Here is what I tried. HST option is the value of the checked Check box, which is "1". This code is returning the else value fine but otherwise isn't working and doesn't change when I toggle the Check box. Can you help me adjust this.
    var h = this.getField("HSToption");
    var f = this.getField("TOTALbeforeHST");
    var g = this.getField("HSTPercentageValue");
    if(h == 1){
    event.value = f.value * g.value;
    }else{
    event.value = "0";

  • Plus signs displaying in calculated field

    I have created a form with a table that has a row that calculates automatically. I then created another form that I copied and pasted the table into. In the second form, when my users display or print the form with Adobe 7.0 Standard, the calculating field now displays a plus sign when nothing is entered to calculate. How do I make the plus sign disappear?

    Actually, that was my first instinct as well, but it is not the issue. No matter how large I make the fields, no matter where I put them (IE not touching any other fields) - the plus signs still display. The really frustrating thing is that they won't display for me, just for other users. I have Adobe 7.0 Pro and we have just updated our users with Adobe 7.0 Standard. The plus signs do not display for me, but they do for the other users. To make the problem even less consistent, I had the exact same table in another form and in that form the users have used that table without any issues. I merely copied and pasted the table into the new form. I can't see any settings that have been changed. Any ideas?? Even a work around would be great.
    Thanks,
    Rebecca

  • Calculated field hidden when field is blank

    This is actually similar to a discussion from a few months ago.Our forms are intended to be filled out online, printed and e-mailed, faxed, or snail-mailed. Many times the customer will simply print out the form and fill it out by hand. When I create forms with calculations the "$" or "0.00" appear; thus making it difficult for someone filling the form out by hand to work around those symbols/numbers. A few months ago, I had a similar situation involving percents and the gurus on this forum (Thank you, gurus!) helped me with the following code and it worked perfectly at hiding the calculated fields unless something was entered in the fields to be calculated.
    For a field with a format of "None" user a Custom validation script:
    if(event.value == 0) {
    event.value = ""; // set field to null;
    AFNumber_Format(0, 0, 0, "", "", true); // set format to number 0 decimals, no currency;
    } else {
    event.value = event.value; // keep value;
    AFPercent_Format(2, 0, 0); // set percent format 2 decimal places.
    This time, the problem involves simple numbers (not percent, not currency). I used the same logic and the fields actually show/hide like I want, but the numbers need to be formated with a comma separating the thousands and a decimal point with two digits after. I can't figure that out! Can someone please offer some advice? Thanks in advance for your help.

    Make sure you are using the correct quotation marks. Use either the double quotation marks or the single quotation marks and not 4 single quotation marks.
    if(event.value == 0) {
    event.value = ''; // set field to null (2 single quotation marks);
    Supress Zero

  • Sum calculated field in report

    Hi, I have a report that groups by employee then by machine. In this report I sum several fields, but need to sum a calculated field and can't figure it out. This is the calculation:
    <?( QTY_MOVED) div ( TIME +.001 ) div ( INVERSE + .001)?>
    This is a total field using a field that works fine.
    <?sum(current-group()/QTY_REJ)?>
    How do I incorporate the calculation in the <?sum(current-group()/.............I get errors if I just put in the calculation above.
    thanks!

    Thank you for your help. After taking your advice and getting it to work by messing around with the brackets, management has changed their mind on the calc. Now they want me to use this calculation:
    SELECT EMPLOYEE, SUM(QTY_MOVED), SUM(QTY_REJ), SUM(TIME), (nvl([b]sum(QTY_MOVED),0)/nvl(sum(TIME),0))/nvl(sum(INVERSE),0) eff ,'DIRECT'
    FROM VW_TIMETRACK
    WHERE START_DATE >= :BEGIN
    AND START_DATE <= :END
    AND WORK_ORDER <> ' '
    GROUP BY EMPLOYEE
    to get the average. Now the weird thing is, I can get the value in toad, and I can get it to output in raw xml data, but when I try to add the eff field right next to the sum(time) field in the word form, nothing shows up. Absolutely no data. But it is in the xml. I'm using <?sum(current-group()/EFF)?> , just like I am for <?sum(current-group()/TIME)?> . I've made it text, numeric, decimal. Nothing is coming out.

  • What is a Calculated Field?

    Hi,
    I have an assignment which requires me to use a 'calculated field' in a query.
    Despite searching and looking in the books I have, I find no reference to the term.
    I'm guessing that it may mean something like:-
    WHERE CUSTOMER.CustomerID > 3 * min_orders
    The " 3 * " being a calculated field.
    Is this it? Or does it mean something else?
    Many thanks for any assistance.

    This question has nothing to do with the Installation forum....
    Post this to the appropriate forum (Forms , Discoverer forum ..to name some).
    Greetings...
    Sim

  • Populate a field in Forms with a blob

    I am trying to populate a field in Forms using a blob from an Oracle database. When we try to run the query to reference the field we get an error that states this cannot be done in this context. Is there a way to accomplish this.
    Thank you.

    You would have to preform the calculation within the sql query. Here is an example of a computed field in a query:
    SELECT HOURS,
           PAY_RATE,
           PAY_RATE * HOURS "CALCULATED_FIELD"
      FROM EMPCheers,
    Tyson Jouglet

  • Don't Print 0.00 ina calculated field.

    How do you make a calculated field not print the 0.00 in Adobe 7.0.9 Professional? I would like to be able to print a blank form with out the 0.00 but can not figure out how to change it without getting rid of the calculate field which I also need. Am I going to have to have two seperate forms? Thanks.

    Thanks, again, so much. I think I got it, the procedure that is! But, but the 0 is still there.
    This does now sound like a simple thing if you know the code. But apparently I'm not there yet!
    This is what I did.
    Under Advanced, Document Processing, JavaScript Functions.
    Entered two different scripts, as follows (this is exactly how I entered them):
    SCRIPT 1
    Name: ds_format
    Script:
    function ds_format()
    if (+event.value) {
    //$ format for nonzero values
    AFNumber_Format(2,0,0,0,"$",true);
    } else {
    //Don't show anything if result is zero event.value="";}
    SCRIPT 2
    Name: ds_keystroke
    Script:
    function ds_keystroke() {
    AFNumber_Keystroke(2, 0, 0, 0, "$", true);
    Then, under the calculated field properties (in my case, Total Cost),
    Format Tab, Custom Format, Custom Format Script section, I selected edit and typed in:
    ds_format();
    Ditto above, but under Custom Keystroke Script:
    ds_keystroke();

  • How to create a calculated field

    Hi. I'd like to know how to create a calculated field for a master- detail form. For example: having two db fields price and quantity, i created a the total item (price * quantity) as pl/sql function like this:
    begin
    :p13_item_total := :p13_price * :p13_quantity;
    end;
    However, the item is not calculated. It is not and instant calculation. I mean if i modify either price or quantity, how to recalculate item total immediately

    You must submit the page to do it with PL/SQL. If you do not want to submit the page, you must do it with JavaScript.
    Thanks,
    Tyler

Maybe you are looking for

  • Error while creating manual planned order in apo

    Dear expert While I am creating manual planned order i am getting error as message /sapapo/rrp251 Every thing is correct BOM and PV's no error after consistency check and it getting succesfully transffered to APO and it is also visible in APO But whi

  • Apple remote no longer works under 10.6.2 on Mac Mini

    Have just updated my Mac Mini to 10.6.2, only to find that it no longer recognises the white Apple remote at all. I have tried both a paired remote and an unpaired remote. I have even tried pairing the unpaired remote. Nothing works. The Mini simply

  • Reading an xml file from a jar file

    Short question: Is it possible to read an xml file from a jar file when the dtd is placed inside the jar file? I am using jdom (SAXBuilder) and the default sax parser which comes with it. Long Question: I am trying to create an enterprise archive fil

  • Xen Xtra not being recognized. Mtp device keeps popping

    I just got a Zen Xtra 40gb from my friend cause he said it was having major problems connecting to the pc after he upgraded it to the new firmware. he had it for years. but he gave it to me after getting an iPod last week,?When i connect it to the pc

  • Changing Router IP while keeping default Gateway

    Hello-  I have a Linksys WRT150N Wireless Router.  The default (out of the box) IP Address is 192.168.1.1, which is also the default Gateway.  I would like to know if it is possible to change the IP address to 192.168.1.2 while keeping the Gateway on