These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Calculating a radio button

bauerkm
Registered: Jan 24 2011
Posts: 3

I am VERY new to Livecycle and I am making a performance review. For each question there are four possible answers which are available in a radio button. I have valued each answer with a 1-4 value. I am now trying to get it to add everything up at the end to show what the merit increase is but I can't get it to work. What should the script look like? I am so confused...

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
A whole lot will depend upon the design of your form, the form field names, and which programing language you want to use.

Assuming you have made exclusionary groups, and set the unselected value for each group to zero, then you only need to add the value for each group of buttons. In FormCalc you can use the 'Sum()' fiction and just load in the field names. You may need to provide the full accessor path for the fields.


Have you looked at any of the tutorials or eSeminars on Demand here?

Have you looked that Scripting Reference included with LiveCycle Designer?

George Kaiser

bauerkm
Registered: Jan 24 2011
Posts: 3
How do I set the unselected value to zero? I have looked at the tutorials but can't seem to find anything like what I am trying to do. I did make exclusionary groups of radio buttons. Each has the name of the question. For example the first radio group is titled QualityofWork[0]. Also, I don't know what you mean by provide the full accessor path for the fields.