/    Sign up×
Community /Pin to ProfileBookmark

"scoring" for a form…

Hi! I have a form that I have everything filled out, all of my radio buttons labeled and valued and what not, but I’m lost as to how to “calculate” the total.

What the form is supposed to do is this: if the visitor chose “mostly a’s”, then they are taken to “A page”. If they chose “mostly b’s”, then they are taken to “B page”. Now, I know how to make it go from my form to another page just fine. What I don’t know is how to “score” the form, calculate just how many a’s, b’s, c’s, etc. were chosen to determine which was the “winner”. (Am I making sense?)

I’m a beginner at Javascript so any help from anyone would be much appreciated!

Thanks!
krismisz

to post a comment
JavaScript

1 Comments(s)

×

Success!

Help @krismisz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...