Form percentages

Hi, so I'm working on a form and I have 4 fields that require percentages inputted into them. I have a total box at the bottom of that which adds all this up, but I need this to stop calculating at 100%, in other words cap it at 100%. Is there a solution to this? And also is there any way of hiding the ugly black boxes with + symbols in the adding fields?
Thanks

You will have to write a custom validation script for each of the fields the verifdy that the amount entered does not exced  for tghe sum of all of the 4 fields100%.
More information will be needed to provided sample code.

Similar Messages

  • Planning Web Form Percentage

    I've tried several things, but can't get a percentage to show up on my planning web form. I've tagged the member as a percentage, which based on documentation says it will then show as a percentage on the web form.
    Any ideas would be appreciated?
    Thanks!

    Hi,
    First make sure the member has a data type of percentage (which you have done).
    Then you will need to set the evaluation order - Administration > Dimensions > Evaluation Order then select the dimension and move it to the right move window. Save.
    You should then be able to enter in percentage on the data form.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • PDF Form: Multiple Choice sheet that displays a percentage based on answers provided

    Hello,
    Im trying to create a form that has 4 multiple choice questions, the answers to each being the values 0,1,2,3,4, 5 or N/A.
    Once answers are given, I'd like the percentage to appear on the form.
    I can't figure out how to do this, as the total fluctuates depending on if the response to one or more questions is "N/A".
    I.e. if the answers were as follows: 4,4,4,4, the percentage would be 80% (16/20).
    However, if the answers were: 4,4,4,N/A, the percentage would also be 80% (12/15) and NOT 60% (12/20).
    I figure its a javascript thing - but alas I do not know Java.
    Help Please!

    So you want to compute the percentage of the non-"N/A" selections using the count of selected items * 5 as the denominator and then use that value to divide the sum of the values for the non-"N/A" selections.
    Has a default checked value been selected.
    Since the averaging is not just computation of the mean based on the item count, you to create a custom JavaScript calculation.
    var aNames = new Array("Radio Button.0", "Radio Button.1", "Radio Button.2", "Radio Button.3"); // array of field names
    var aValues = new Array();
    var sum = 0;
    var count = 0;
    var oField;
    event.value = "";
    for(i = 0; i < aNames.length; i++) {
    // get values of fields into array;
    oField = this.getField(aNames[i]);
    if(oField ==  null) app.alert("Error getting " + aNames[i] + " field!", 0, 1);
    else aValues[aValues.length] = oField.value;
    if(aValues.length != 0) {
    // sum the non-N/A vlaues in the array;
    for(i = 0; i < aValues.length; i++) {
    if(String(aValues[i]).toUpperCase() != "N/A") {
    sum += Number(aValues[i]); // sum the non-N/A values;
    count++; // count the non-N/a values;
    // compute average if count not zero;
    if(count != 0) event.value = sum / (count * 5);

  • How to Display the Percentage (%) Sign in Planning Form..???

    Hi All,
    How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
    What I want is, when I type 50 in my cell, then in my form will be show 50%
    Now, I can't see the % sign on my form.
    Any Idea..??
    Thanks.
    Regards,
    VieN

    I know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!

  • How can i calculate the percentages and update the progressBar in the splash screen form ?

    I created a splash screen form:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Threading;
    namespace GetHardwareInfo
    public partial class SplashScreen : Form
    public SplashScreen()
    InitializeComponent();
    private Mutex mutex = new Mutex();
    public void SyncedClose()
    mutex.WaitOne();
    this.Close();
    mutex.ReleaseMutex();
    public void UpdateProgressBar(int percentage)
    if (this.InvokeRequired)
    mutex.WaitOne();
    if (!IsDisposed)
    this.BeginInvoke(new Action<int>(UpdateProgresPRV), percentage);
    mutex.ReleaseMutex();
    else
    UpdateProgresPRV(percentage);
    private void UpdateProgresPRV(int per)
    if (progressBar1.IsDisposed) return;
    progressBar1.Value = per;
    private void SplashScreen_Load(object sender, EventArgs e)
    The SplashScreen form have in the designer image and on the image a progressBar1.
    Then in form1 i did in the top:
    List<string> WmiClassesKeys = new List<string>();
    IEnumerable<Control> controls;
    string comboBoxesNames;
    SplashScreen splash = new SplashScreen();
    And in the constructor:
    controls = LoopOverControls.GetAll(this, typeof(ComboBox));
    string[] lines = File.ReadAllLines(@"c:\wmiclasses\wmiclasses1.txt");
    foreach (string line in lines)
    foreach (ComboBox comboBox in controls.OfType<ComboBox>())
    if (line.StartsWith("ComboBox"))
    comboBoxesNames = line.Substring(14);
    else
    if (line.StartsWith("Classes"))
    if (comboBox.Name == comboBoxesNames)
    comboBox.Items.Add(line.Substring(14));
    foreach (ComboBox comboBox in controls.OfType<ComboBox>())
    comboBox.SelectedIndex = 0;
    The method GetAll is to loop over specific controls:
    public static IEnumerable<Control> GetAll(Control control, Type type)
    var controls = control.Controls.Cast<Control>();
    return controls.SelectMany(ctrl => GetAll(ctrl, type))
    .Concat(controls)
    .Where(c => c.GetType() == type);
    When i'm running the program it's taking some time to make the foreach loops in this time i need to show the SplashScreen and update the progressBar untill the foreach loops over.

    Don't use Application.Doevents. It's not required and can cause problems.
    I do not really grasp the approach you are taking here. So let me make a different suggestion:
    SplashScreen:
    using System;
    using System.Windows.Forms;
    using System.Threading;
    namespace WindowsFormsApplication1
    public partial class SplashScreen : Form
    private static SplashScreen DefaultInstance;
    public SplashScreen()
    InitializeComponent();
    public static void ShowDefaultInstance()
    Thread t = new Thread(TMain);
    t.Name = "SplashUI";
    t.Start();
    public static void CloseDefaultInstance()
    DefaultInstance.Invoke(new Action(DefaultInstance.Close));
    private static void TMain()
    DefaultInstance = new SplashScreen();
    DefaultInstance.Show();
    Application.Run(DefaultInstance);
    public static void UpdateProgress(int Progress)
    if (DefaultInstance.InvokeRequired)
    DefaultInstance.Invoke(new Action<int>(UpdateProgress), Progress);
    else
    DefaultInstance.progressBar1.Value = Progress;
    Form1:
    using System.Windows.Forms;
    namespace WindowsFormsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    SplashScreen.ShowDefaultInstance();
    for (int i = 1; i<=100; i++)
    System.Threading.Thread.Sleep(20); // simulates work
    SplashScreen.UpdateProgress(i);
    SplashScreen.CloseDefaultInstance();
    EDIT: Please note that the progressbar itself is being animated by the system, so it might look slower than it really is. To workaround this, there are solutions available (you'll find them) that first set the value one higher than necessary, then
    back to the actual value.
    Edit #2: You do need a different thread, otherwise the UI is locked while the loop is running in your Form1's constructor.
    Armin

  • Percentage field in Adobe forms

    Hi
    I have a requirement to display a percentage field with 2 decimal places in an Adobe form e.g. 75.00%.
    The field has been declared as type ANZHL (DEC Length=7 Decimals=2) in a data dictionary structure.
    When debugging the controlling program and the actual function module generated for the form itself the contents of the field is 75.00.
    In the layout of the form the field has been created as a Decimal field with Display pattern and Data pattern of num{zzzz9.zz%}.
    However, when the form is previewed or printed the field is displayed as 7500%.
    Does anyone have any idea how to fix this?
    Thanks

    Hello
    I know this is quite old topic, but for future reference another solution is to use '%' in the pattern.
    For example:
    you have decimal value 75.00,
         - when using pattern num{zz.99%}, it will output 7500%
         - when using pattern num{zz.99 '%'}, it will output % as a string, and the whole output will be 75.00 %
    So in second case you don't need any extra (floating or text) field to have percentage in.

  • Posting Percentages in planning Web Form

    Hi all,
    I have a web form where in i have all the percentage accounts. When i type in the value 0.02 it takes in the value as 2%. Is there a way to change the setting in which i can directly type the percentage values as 2%?
    Thanks in advance!

    Hi,
    The dimension of the member you want to show as percentage is the one you want to set in the evaluation order, which is usally account.
    It depends what plan type your form is against, if it is the plan type 1, you would use plan type1 and set the dimension against it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Interactive Form Height in percentage

    Hi All,
      I have an Interactive for displaying a PDF on a WebDynpro view.  I can specify the Interactive Forms height property in pixels (e.g. 600px) however when I specify it in percentage (e.g. 100%) the form will not appear.  It fails silently.
      The funny thing is that the width property is set to 100% and works perfectly.
    Any thoughts?
    Larry
    P.S. Points will be awarded

    after more searching I've found the answer ... it cannot be done.
    See Note 885862
    Note 885862 - PDF document is not shown properly, only Toolbar appears
    Symptom
    A Web Dynpro application uses InteractiveForm UIElement. On the first attempt, only the Toolbar of Reader is displayed. The PDF document itself is not visible.
    Other terms
    Adobe Integration, Interactive Forms Solution
    Reason and Prerequisites
    The height property of the InteractiveForm UIElement is set to a per cent (%) value.
    Solution
    The height property of the InteractiveForm should be set to an absolute value as "%" is currently not supported of the Web Dynpro Runtime.
    Dissapointed again ....
    Larry

  • Format a decimal number to percentage form, e.g. 0.01 to 1%

    Hi all,
    As titles, i want to format a decimal number to percentage form, e.g. 0.01 to 1%. I can't find it in PQ.
    Thanks,
    Arthur
    Keep involved!

    PQ doesn't currently have a way to specify number formats (that's usually done in Excel after filling the data to the sheet, or in Power Pivot). But if you want to generate some text that represents a number as a percentage, you can use this formula:
    = Text.From(TheNumberYouWantToFormat * 100) & "%"
    Ehren
    Any plans to add this functionality in the future?
    Keep involved!

  • Forms, Calculations and Percentages

    I am using Acrobat XI Pro. I am trying to calculate some items for an order form. It will be the (Quantity * Unit Price)*(Discount*-1). The discount it a percentage. However, the form keeps turning the percentage from 20% to 2000%. Then when it does the calculation in the Savings field it comes out as a negative number in the hundreds. How would you do this type of thing? I have tried both simplified and custom script. Neither have worked. The TOTAL field will be (Quantity*UnitPrice)+(Savings)
    So it should read across Quantity=2 UnitPrice=$50.00 Discount=20% and Savings=$10.00
    Thank you in advance for any help
    Ellen

    Percentages are entered in as decimal values and the formatting of a field makes the adjustment of the decimal place and adding the "%" symbol. If you want to try and do the math yourself, you will be doing a non-standard operation and need to write more scripts and more debugging to handle your code.

  • Can I get a numeric value entered as a whole number on a form to "know" it's really a percentage?

    Hi everyone,
    I'm a non-technical person using LiveCycle 7.1 to design forms for the court system I work in. I've developed a judgment form where different values are entered: damages, interest start/stop dates, interest rate, additional costs/credits, which are then totaled. The form works great, I used FormCalc to perform all the math in the form. The question I have is: is there a way for the form to know a number entered in a field is really a percentage? So if a user entered "12" the form would know it's really 12%. Right now the form requires the user to enter the interest rate as a decimal value: 12% as ".12". I'm a bit concerned about the potential for user error. It would be ideal if the user could enter "12" (without decimal) and have the form know that that numeric field was always a percentage value. Any ideas? Thanks, any help is greatly appreciated.

    Thanks for the heads up, I'm actually on the line with apple right now (even though I've been on hold for more then 20 minutes ) I guess I'll see what they say.
    But I was also wondering if anyone else had to go through this

  • Typing and displaying percentages in a form

    Using Acrobat 9, I have some form fields that are set up to display percentages. The percentages are typed in by the user, not calculated. For example, if the user wants 20%, they have to type .20 in the field.
    My question -- is there a way to set up the form field so that the user can type in 20, for example when they want 20%, instead of .20 (point two zero)?

    Add the following two functions to a document-level JavaScript:
    // Document-level JavaScript code
    function percent_Format() {
        // Format for numeric, 2 decimal points
        AFNumber_Format(2, 0, 0, 0, "", false);
        // Add a percent character on the end if the field is not blank
        if (event.value) event.value += "%";
    function percent_Keystroke() {
        // Format for numeric, 2 decimal points
        AFNumber_Keystroke(2, 0, 0, 0, "", false);
    Then call the first in the field's Format event like this:
    // Custom Format script
    percent_Format();
    And the second in the field's Keystroke event like this:
    // Custom Keystroke script
    percent_Keystroke();

  • Can I get a text form field to automatically calculate a percentage of another text field?

         I have a form with text form fields A, B, A1, and B1. I need to have form field A1 calculate to be 80% of form field A. Same with the B fields. I am creating a form that will be filled in by my managers and am hoping that this can be done! HELP PLEASE!!

    As A1's Calculate script, under "Simplified field notation", enter:
    A * 0.8
    The same goes for B1 and B, resp.

  • Creating a percentage form field?

    I have an element called SOACTIVITY_STATUS, the value of the element is part of a group by.
    I want to display three columns on my report. The first column is the total count of SOACTIVITY_STATUS rows. The second column is the total count of rows where the value is 'MIS' and the third column is the percentage of column2 / column1.
    I have defined column 1 as: <?count(current-group()/SOACTIVITY_STATUS)?>
    I have defined column 2 as: <?count(current-group()/SOACTIVITY_STATUS[.='MIS'])?>
    When I run the report I get a count of "7" for column 1 and "5" for column 2. How do I define column 3 so my result will be "71%" ?

    Hi
    <?( ( count(current-group()/SOACTIVITY_STATUS[.='MIS']) ) div ( count(current-group()/SOACTIVITY_STATUS) )  )* 100 ?> Will get you the 71, if you want the template to format the number with a % sig. then leave out the * 100 and assign the field numeric and set the format appropriately.
    Yep, you have to do the calulations over again - expensive. You could create a couple of variables to hold the values and divide those.
    So rather than your columns totals being as you have, you would have:
    <?variable: cnt1,'count(current-group()/SOACTIVITY_STATUS)'?>
    <?variable: cnt2,'count(current-group()/SOACTIVITY_STATUS[.='MIS'])'?>Then for your column values you would use
    1st Count     2nd count     Percentage
    <?$cnt1?>   <?$cnt2?>     <?$cnt2 div $cnt1?>     that will save some resources.
    Regards
    tim

  • How do I make basic percentage calculation in forms?

    I have a simple calculation I need to perform
    Quantity Passed divided by quantity failed = percentage failure.
    Thank you.

    What are the exact names of the fields involved in the calculation? Are the passed/failed values already being calculated or do you need to do that as well? If it's possible that the quantity failed amount can ever be zero/blank, you will have to use JavaScript.

Maybe you are looking for

  • Reg: URL for the document

    HI, Iam working on EASYDMS. I want to send an email thru workflow when ever a doc is created in in EASYDMS .The content of the mail should contain the URL link so that when ever user click the URL the doc should open  so that he can approve the doc ?

  • Error In Synchrounous Message processing

    hi all, We have an interface from ECC to Webmethods. It is a Sync interface. We are using a HTTP adapter on the receiver side. The issue is that while WM sends a response to PI , the structure is getting changed. Not sure where it is happening. The E

  • Increasing image MP size?

    I was fortunate to have a photo selected for a magazine cover. I never expected to use anything from this series so instead of my usual raw/22 MP defalut, I happened to be in jpeg thinking it was just for planning, etc. In any case, the image they li

  • Using ACV curve files in Lightroom

    Has anybody tried to convert an existing ACV curve file for use in Lightroom? I am using a custom acv curve file for B&W toned inks, and I would like to use it within Lightroom instead of going out to PS. Is there any way to convert/load the curve in

  • On right click i cant to add more than 4 extensions

    I want to add one more extension like this here is [http://pic.mk/images/ewr3V.jpg SCREEN] one screen i enabled extension here you can see more [http://pic.mk/images/gEV9U.jpg SCreen!] ''moderator fixed the first hyperlink''