Gravity Forms Randomizer
Randomize Gravity Forms Fields and Choices and create a truly unbiased order on your next quiz, survey, or questionnaire.
What does it do?
GF Randomizer allows you to randomize your fields and choices. There are unique use cases for each of these abilities.
Randomize Choices: Randomize the order of field choices for each visitor.
Randomizing choice order is a great way to reduce bias introduced by the order of your choices. Order bias is the tendency for participants to respond inaccurately to questions due to the order of the answers. There’s a variety of factors that influence order bias, but the easiest way to eliminate any potential bias is to randomize the answer options.
Randomize Fields: Randomize the order in which fields appear and how many fields should appear, randomly selected from a specified pool of fields.
Create re-takable personality quizzes, varied daily check-ins, and engaging practice tests, all with a few clicks in your Gravity Forms settings.
Features
- Randomize choice order for all choice-based fields.
Randomize the order of choices for any choice-based field. This includes Drop Downs, Multi Select, Radio, Checkboxes, Products, Options, and more! - Randomize field order for all fields.
Randomize the order in which fields appear. Can be applied to specific fields or all fields. - Display a subset of fields from a larger pool.
Control how many random fields are displayed, allowing you to show a smaller subset of fields from a larger pool of fields. - Maintains randomized order intelligently.
Visitors will never be frustrated by the randomization because the randomization persists once the user has begun completing the form. Navigating multi-page forms and validation errors will present a consistent experience. - Choice randomization works with caching.
Caching your form pages? No worries! GF Randomizer will still randomize the choice order. - Integrates with Populate Anything.
Randomize populated choice-based fields. Choice order is saved and reused just like static fields. - Automatic updates.
Get updates and latest features right in your dashboard. - Legendary support.
We’re here to help! And we mean it.
Documentation
Choice Order Randomization
After you have installed and activated Gravity Forms Randomizer, choice order can be randomized for any field that has choices. Let’s step through that process.
Add a choice-based field (Drop Down, Multi Select, Radio, etc) to your form. | |
Open the field settings and check “Randomize Choice Order” |
That’s all there is to it. The choice order will now be randomized when viewing the form.
The “Other” Option
Gravity Forms’ Radio Button fields support an “other” option which allows the user to enter a value that is not available as a predefined choice.
GF Randomizer supports this feature and will always leave the “other” choice as the last choice in your Radio Button field.
Field Randomization
Fields can be randomized in two ways:
- You can randomize which fields are displayed.
- You can randomize the order in which fields are displayed.
Randomize Fields
Follow these instructions to randomize which fields are displayed. You specify a pool of fields that should be randomized and then the number of fields that should be displayed per randomization.
Note: Fields that are part of the Randomizer field pool but are not randomly selected will not be displayed. If a Page or Section on the form does not contain any visible fields after randomization, it will be removed. Pages will be automatically restructured accordingly.
Randomize Field Order
Follow these instructions to randomize the order in which fields are displayed. You can randomize the order for all form fields or specify specific fields whose order should be randomized.
Randomizer Field Pool
By default, the randomizer field pool will contain all fields. This means all form fields on the form are eligible for randomization.
Depending on your settings that might mean that only a random subset of these fields will be displayed (e.g. you’ve set the Number of fields to display from pool lower than the total number of fields in the pool) or that the order the these fields will be randomized (e.g. you’ve enabled the Randomize field order option).
In many cases, you may not want to want to randomize all fields. If so, you have two additional options with the Randomizer field pool setting.
- All fields except: This option will include all form fields except the selected fields in the pool of fields eligible for randomization.
- Specific fields: This option will only include the fields you specifically select in the pool of fields eligible for randomization.
Any field not included in the randomizer field pool is considered a static field. Static fields will not be randomized. This means they will always be displayed and the order in which they display on the form will not be altered.
Usage Examples
Randomization Persistence
GF Randomizer supports intelligently maintaining all randomizations (i.e. randomized choice order, randomized field order, and randomized fields) once the user has begun completing the form.
Randomizations will persist after the form has been submitted and a validation error has been returned and when the user is navigating to the next or previous page in a multi-page form.
Randomized fields and randomized field order will also be preserved when returning to the form via Save and Continue, including our GF Advanced Save & Continue perk.
Integrations
Populate Anything
GF Randomizer integrates perfectly with GF Populate Anything. Any randomized and populated choice-based field will maintain the randomized choice order when the user interacts with the form.
Known Limitations
- Field randomizations are not preserved when passing entry data through via Easy Passthrough.
- If you need this, we’d love to hear about your use case.
- Field randomizations are not preserved when editing an entry via Entry Blocks or Nested Form fields.
- If you need this, we’d love to hear about your use case.
FAQs
Doesn’t Gravity Forms already support this?
GF supports randomizing choice order only with Quiz fields and Poll fields. The randomization is done using server-side logic which does not guarantee a random order if caching is used. We think you’ll find randomizing the choice order with any choice-based field to be quite useful!
GF also supports randomizing field order with the Quiz Add-on; however, this randomization can only be applied to Quiz fields and must be applied to all Quiz fields when enabled. GF Randomizer gives you greater control, allowing you to include any field type in the randomization and also the ability to display a subset of fields from a larger pool of fields.
Can I randomize the order of fields?
Yes! With GF Randomizer 2.0 we’ve added support for randomizing not only the order of fields but which fields can be randomly displayed.
How do I avoid field randomization from being cached?
While GF Randomizer bypassing caching by randomizing choice order on the frontend, randomizing field order is a bit trickier and must be handled server-side. This means the results of this randomization will be cached if the page on which the form is displayed is cached.
With that said, we have some great advice on how to keep your cache active while still loading just your form fresh from the server via our popular (and free) GF Cache Buster plugin.
Can this do *some other feature*?
Maybe! If you’re already a customer, drop us a line via support. We’d love to brainstorm with you. If you’re not a customer, we also love pre-sales questions!
Hooks
Gravity Forms has hundreds of hooks. Check out our Gravity Forms Hook Reference for the most thorough guide to Gravity Forms’ many actions and filters.
Related Resources
- How We Built a Randomized Quiz with Gravity Forms
Using GP Randomizer, we created an engaging onboarding quiz that ensures each new hire thoroughly understands the material.