Avatar

Level 1

I am a beginner with LiveCycle calculations.  I have created a questionnaire that calculates a score based on the answers a user chooses from drop downs. 

I now need to figure out how to populate a field with text based on the score range.  For example, of the calculated score for the questionnaire is between 8 and 10, then I want to have a field captioned "Risk Assessment" that would populate with the text "High".  If the calculated score added up to between 5 and 7, then the "Risk Assessment field should populate with the text "Moderate". etc.

I have been trying to figure this out using if/then, but so far have had no luck. This is what I have so far-- my two fields are named "Score" and "Risk".

 

if (Score.rawValue >=8)then (Risk) == "High" endif

Any assistance would be greatly appreciated.