Skip Navigation

[Resolved] Can we randomly order fields created with Toolset?

This thread is resolved. Here is a description of the problem and solution.

Problem:

I want to create a quiz with Toolset where there would be multiple-choice questions.

I know I can drag and drop the order of questions and options inside the cred form but can I do that on page render? Every time someone opens a quiz - the order of questions is randomly organized and the order of options also changes.

Solution:

There isn't such kind of built-in feature within Toolset Forms plugin

Relevant Documentation:

This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by himanshuS 2 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2291309

I want to create a quiz with Toolset where there would be multiple-choice questions.

For example, this is what one quiz would contain
1. 10 multiple choice questions
2. Each question with 3 choices (radio fields)
3. Limited time to answer each quiz.

This is how I will configure it -
1. Create a CPT called "Quizzes"
2. Create custom fields for the post type for each MCQ
3. Make every field mandatory
4. Create post submit CRED form for 10 questions.

I know I can drag and drop the order of questions and options inside the cred form but can I do that on page render? Every time someone opens a quiz - the order of questions is randomly organized and the order of options also changes.

Also, I would like to put of timer on answering a quiz question (in this scenario - I will only show one question at a time). Is there a way to enforce time restrictions with Toolset?

Help appreciated.

#2291525

Hello,

Q1) I know I can drag and drop the order of questions and options inside the cred form but can I do that on page render?
Unfortunately, there isn't such kind of built-in feature within Toolset Forms plugin, you can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Our developers will evaluate it
Currently, you might consider to use custom JS codes to display those questions in random order, for example:
hidden link

#2291529

Q2) Is there a way to enforce time restrictions with Toolset?
Same as above, there isn't such kind of built-in feature too, you might consider custom codes, for example:
hidden link

#2292243

My issue is resolved now. Thank you!