/    Sign up×
Community /Pin to ProfileBookmark

Mailto Problems

I’m having problems with a diagnostic quiz I’ve made in the website. You can check here [url]http://www.queenscollegiate.com/language/index.php?view=ac-07coursematerials&menu=05[/url]

Whenever a person submits the quiz with the mailto, the email shows the body like this “comment=&example+sentence+percentage=” . I want it to be the actual paragraph that the person wrote for part 2 and the percentage they’ve got from the website.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulAug 27.2015 — I can't answer your query, but I would point out that your test is insecure. Anyone who knows how to display the source code of a web page can find the correct answers! ? E.g. (I've starred out the actual answers):

<i>
</i>// Insert answers to questions
answers[0] = "****";
answers[1] = "*** ******";
and so on...


The marking should be done server-side, not client-side, to make it more difficult to access.
×

Success!

Help @iloveabba 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...