Creating dynamic feedback

24 views
Skip to first unread message

Andrea Baric

unread,
Apr 17, 2015, 10:50:38 PM4/17/15
to web...@googlegroups.com
I am trying to create an application that mirrors a multiple choice test with just one question per page. How do I check for the correct answer and generate instant visual feedback--right or wrong-- after a user has submitted his or her answer (via a radio button)?

黄祥

unread,
Apr 18, 2015, 3:43:22 AM4/18/15
to web...@googlegroups.com
i think you can use validation on form level, to check or validate the answer of the form submitted.
ref:

best regards,
stifan

Anthony

unread,
Apr 18, 2015, 11:17:06 AM4/18/15
to web...@googlegroups.com
Or if you don't want a full page reload, you could submit and return the response via Ajax.
Reply all
Reply to author
Forward
0 new messages