Forums

Can a form do this?

findshare 18 Dec, 2011
I am building a language boardgame website and it was suggested I should look into a form to do this:

The page will show an image with a question on (printed on image) and there will be radio buttons to choose between 5 answers. Upon entering the answer it should turn/flip/change the image to the one with the answer printed on. Answers will be preloaded.

If answer is wrong, it should, after a few seconds, redirect to another form (same thing, but a different question and only about three forms.)

If the answer is right is should redirect to next page.

I am not looking for something massive, nor do I need to store answers. It is only meant as a bit of fun and to indicate how the game is working.

I am using Joomla latest (1.7) and it a fresh install.

Is this possible at all, or some of it and if so, how?
GreyHead 18 Dec, 2011
Hi findshare,

You don't really need a form for this - it looks as though most of it is going to be run using custom JavaScript. That said, if you are running it on Joomla! then ChronoForms v4 gives you quite a nice platform to develop from - but it won't help you with writing the custom JavaScript :-(

Bob
findshare 19 Dec, 2011
Thanks for the reply Bob,

i didn't think that chronoforms were able to do everything, but i was kind of interested if it was possible with the redirect options (wrong=go back, right=continue to next page).

That seems like an easier solution for that part. And i'll just use some flash to demonstrate the flipping bit.

So is it possible to create two redirects depending on the (preloaded) answers?
GreyHead 19 Dec, 2011
Hi findshare,

Yes, you can redirect from ChronoForms depending on an answer. I'd probably do it with a little PHP and the Joomla! $mainframe->redirect() method in a Custom Code action.

Bob
This topic is locked and no more replies can be posted.