How to Add and Set Up the Comparison Slider on Your Form

March 4, 2026

With Jotform’s Comparison Slider widget, you can display two images layered on top of each other and let users slide between them to see the differences. This creates an interactive way to compare visuals directly inside your form. It works well for surveys, idea pitches, and feedback forms where visual comparison matters.

Here are a few ways to use it:

  • Add an interactive comparison slider to your form.
  • Show before-and-after images clearly.
  • Compare product designs or concepts.
  • Collect feedback based on visual differences.

Whether you’re building a new form or editing an existing one, you can add and configure the Comparison Slider in just a few steps. This is how it’s done:

  1. In Form Builder, click on Add Element on the left side of the page.
Form Builder Add Element menu in Jotform
  1. Now, in the Form Elements menu, under the Widgets tab, search for the Comparison Slider and click on it. Or, just drag and drop it to where you want it to be on your form.
Form Elements Widgets tab showing Comparison Slider widget selection in Jotform
  1. Next, in the Widget Settings window that opens on the right side of the page, under the General tab, setup these things:
    • Image Before — Enter the URL of the image you want to display as the “before” image.
    • Image After — Enter the URL of the image you want to display as the “after” image.
  2. Once everything’s set, click on Update.
Comparison Slider widget General settings showing Image Before Image After fields and Update button in Jotform

That’s it. You’ve successfully added and set up the Comparison Slider widget on your form.

Comparison Slider widget successfully added and configured on a Jotform form

Wondering how it looks in action? Check out this demo form.

Note

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.
Still have unanswered questions?

We’re here for you 24/7, anytime you need us day or night. Have a question or need a hand with something? Our team is always ready to help out.