Copy link to clipboard
Copied
Hello,
in pdf form, i want to calculate the standard deviation for 5 feilds named (F1,F2,F3,F4,F5) which is numeric and i think that this can be done through a custom calculating script.. can you help me please in a code to perform this calculation...
thank you
Here is a tested link to the drop box file. You do not need to join, just click "continue to view" and download the form to use the form.
Copy link to clipboard
Copied
Please see the response to your first post.
For a link to a post that has the functions to compute the mean average, sum, count and standard deviation from an array of values. Using the array allows one to use the filter method of the array to remove unwanted values like null strings.
Copy link to clipboard
Copied
i put it, but it does not work
i place the feilds name (F1,F2,F3,F4,F5) instead the numbers that he use.. how i could correct it
Copy link to clipboard
Copied
This is all custom JavaScript.
You need to create an array of the non-null values form your fields. Then use that array of values as the parameter to the function calls to get the result of the function returned back to your script. You then need to use more JavaScript to set your field values.
With your values my form calculates a sum of 6.26, an average of 1.252, and a standard deviation of 0.24252010225958592
Copy link to clipboard
Copied
i'm sorry that i'm a bignner but if u can send the form that you used to calculate the Standard deviation i will be gratefull. i will use it as a guide. thanks alot
Copy link to clipboard
Copied
Here is a tested link to the drop box file. You do not need to join, just click "continue to view" and download the form to use the form.
Copy link to clipboard
Copied
thank you.. thank you ... i'm very gratefull for your help.
Copy link to clipboard
Copied
Please Dear..
i have used adobe livecycle designer Es2 for making form, i want to calculate the standard deviation for 5 feilds named (F1,F2,F3,F4,F5) which is numeric and i think that this can be done through a custom calculating script.. can you help me please in a code to perform this calculation... the previous was in adobe acrobat pro but when use the same code u gave me previously it does not work with adobe livecycle designer.. please help me in this issue
thank you
Copy link to clipboard
Copied
You should ask here: LiveCycle Designer
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more