Hi,
Fairly new to power portals. I am trying to build an application, in which, based on the response chosen by applicant, the screen calculates the application score.
E.g.
Question - What's your age ?
Dropdown options -
25-29 years 20 points
30-39 years 15 points
40-44 years 5 points
> 45 years 0 points
Based on the dropdown response chosen, I want to display the score against the question (the scores also need to be stored in a separate field)
The application will have many such questions with dropdown answers, each with a score.
I am configuring the scores in a separate entity, say 'Application score configuration' which has the following structure
FieldName (name of dropdown field) , fieldValue (dropdown value), points
I think, based on the response chosen for each question, I need to query the configuration table to get the score and display it in the score field. How do I do this ? Is this done using javascript or liquid ?