# Hide results until form completion

**URL:** <https://community.elfsight.com/t/hide-results-until-form-completion/48840>\
**Category:** Calculator\
**Tags:** Gathering-Feedback\
**Created:** [April 22, 2024, 10:55pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840 "2024-04-22T22:55:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerome1](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@Jerome1](https://community.elfsight.com/u/Jerome1)\
**Post date:** [April 22, 2024, 10:55pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/1 "2024-04-22T22:55:02Z")

</div>

We want to capture the Calculator user info before they get access to use the Results For instance, we are calculating the cost of vacancy for open positions as we are a staffing firm. We want to capture user name, company, email, phone, etc before the Results are shown to them.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [April 23, 2024, 11:48am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/2 "2024-04-23T11:48:18Z")

</div>

Hi @Jerome1 👋

I completely get where you’re coming from, and I agree that it would be great to have such an option.

We’ll try to think this idea over and I’ll make sure to inform you here in case of any changes 🙂

Thanks a bunch for sharing your thoughts with us!

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [March 26, 2025, 3:32pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/3 "2025-03-26T15:32:37Z")

</div>

I am the web developer for a home remodeling company and want to capture more leads this way too. I was looking for this and was surprised they dont have this option yet…

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [March 26, 2025, 4:57pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/4 "2025-03-26T16:57:28Z")

</div>

Hi there, @Noah_Beard 👋

Many thanks for sharing your thoughts with us!

We also agree that it would be a nice option. Let’s hope the devs will be able to consider this idea. If any news comes up, we’ll promptly update you here 🙂

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [March 26, 2025, 5:19pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/5 "2025-03-26T17:19:18Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![user2869](https://avatars.discourse-cdn.com/v4/letter/u/9fc348/32.png) [@user2869](https://community.elfsight.com/u/user2869)\
**Post date:** [March 29, 2025, 5:24pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/6 "2025-03-29T17:24:37Z")

</div>

There should be an option where results aren’t show until all questions have been answered / inputs received.

---

<div class="post-metadata">

**Author:** ![Kastri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/kastri/32/61072_2.png) [@Kastri](https://community.elfsight.com/u/Kastri)\
**Post date:** [March 31, 2025, 1:06pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/7 "2025-03-31T13:06:28Z")

</div>

I really miss this feature, I bought it on the calculator to generate more leads, but if you can’t hide the result to obtain contact information, then unfortunately you won’t generate as many leads as the calculator intended. Is there any timeframe for such an upgrade, i have been trying a couple of work arrounds but, the it seems like the JS code is not overwriting the CSS…

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [March 31, 2025, 2:30pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/8 "2025-03-31T14:30:03Z")

</div>

exactly.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [April 1, 2025, 11:06am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/9 "2025-04-01T11:06:50Z")

</div>

Hey there, guys, @Kastri, @user2869 👋

A huge thank you for your feedback!

The timeline for this feature is still unclear, since we have a lot of requests with the higher priority now. However, if any news comes up, we’ll update you here right away 🙂

In the meantime, could you please describe how you envision showing results in this case? Should they appear in the widget after clicking on the Submit form button or you’d like to send them in email notifications?

---

<div class="post-metadata">

**Author:** ![Kastri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/kastri/32/61072_2.png) [@Kastri](https://community.elfsight.com/u/Kastri)\
**Post date:** [April 3, 2025, 7:19am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/10 "2025-04-03T07:19:12Z")

</div>

Hi @Max

Thx for your respons.  
The ideel way would be to appear in the widget after clicking on the Submit form button, this way the customers can get the information straigt away.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [April 4, 2025, 7:15am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/11 "2025-04-04T07:15:48Z")

</div>

@Kastri, Here is the solution from our devs:

```auto
const WIDGET_ID = WIDGET ID';
const MESSAGE = 'Place order to see the results';

const style = document.createElement('style');
style.innerHTML = `
  .elfsight-app-${WIDGET_ID} [class*="result-primary__PrimaryContainer-sc"] *,
  .elfsight-app-${WIDGET_ID} [class*="result-secondary__SecondaryContainer-sc"] * {
    display: none;
  }
  .elfsight-app-${WIDGET_ID} [class*="result-primary__PrimaryContainer-sc"]:after,
  .elfsight-app-${WIDGET_ID} [class*="result-secondary__SecondaryContainer-sc"]:after {
    content: '${MESSAGE}';
  }
`;
document.body.append(style);

const waitForElem = (selector) =>
  new Promise((resolve) => {
    if (document.querySelector(selector)) {
      return resolve(document.querySelector(selector));
    }
    const observer = new MutationObserver(() => {
      if (document.querySelector(selector)) {
        observer.disconnect();
        resolve(document.querySelector(selector));
      }
    });
    observer.observe(document.body, {
      childList: true,
      subtree: true,
    });
  });

waitForElem(
  `[class*="${WIDGET_ID}"] [class*="SubmitMessage__Message-sc"]`
).then(() => style.remove());

```

The custom message should be set in the 2nd line of the code.

Replace WIDGET\_ID in the 1st line of the code with [ID of your widget](https://help.elfsight.com/article/1219-where-to-get-your-widget-id-in-new-dashboard) and add the resulted code to the Custom JS field on the Settings tab of your widget’s settings. Try it out and let me know how it worked 🙂

---

<div class="post-metadata">

**Author:** ![Kastri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/kastri/32/61072_2.png) [@Kastri](https://community.elfsight.com/u/Kastri)\
**Post date:** [April 4, 2025, 8:56am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/13 "2025-04-04T08:56:46Z")

</div>

It works, i am going to work a bit on the layout, but the code hides the results, and only shows the results after clicking submit!

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [April 4, 2025, 2:42pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/14 "2025-04-04T14:42:32Z")

</div>

Could you make a code for me as well? I’m pretty much the same as Kastri where I dont want customers to see the total until they submit their info. So getting the estimate is an incentive for them giving up info.

---

<div class="post-metadata">

**Author:** ![Kastri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/kastri/32/61072_2.png) [@Kastri](https://community.elfsight.com/u/Kastri)\
**Post date:** [April 4, 2025, 4:55pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/15 "2025-04-04T16:55:43Z")

</div>

You can use the same code mate, just change the widget ID = ‘a6dcdae5-8996-44d6-90f9-06d4948100ba’ to your widget.

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [April 4, 2025, 9:32pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/16 "2025-04-04T21:32:52Z")

</div>

Thank you sir.

---

<div class="post-metadata">

**Author:** ![Marketing\_BR](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Marketing\_BR](https://community.elfsight.com/u/Marketing_BR)\
**Post date:** [May 15, 2025, 3:10pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/17 "2025-05-15T15:10:50Z")

</div>

Hi!

I’d like to request a feature for the Calculator widget: the ability to hide or blur the calculated values until the user completes the form. This would be incredibly helpful for lead generation purposes, ensuring users engage with the form before accessing the full result.

I’ve actually developed a workaround using JavaScript that achieves this behavior and would be happy to share it as a reference. However, having this as a built-in setting—perhaps as a checkbox like “Hide result until form is submitted”— would make the experience much more seamless for non-technical users.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 15, 2025, 3:31pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/18 "2025-05-15T15:31:27Z")

</div>

Welcome to the Community, @Marketing_BR 👋

We already have such a request on the Wishlist, and I’ve added your comment there too 🙂

By the way, there is a custom solution for this case:

```auto

const WIDGET_ID = 'WIDGET ID';
const MESSAGE = 'Place order to see the results';

const style = document.createElement('style');
style.innerHTML = `
  .elfsight-app-${WIDGET_ID} [class*="result-primary__PrimaryContainer-sc"] *,
  .elfsight-app-${WIDGET_ID} [class*="result-secondary__SecondaryContainer-sc"] * {
    display: none;
  }
  .elfsight-app-${WIDGET_ID} [class*="result-primary__PrimaryContainer-sc"]:after,
  .elfsight-app-${WIDGET_ID} [class*="result-secondary__SecondaryContainer-sc"]:after {
    content: '${MESSAGE}';
  }
`;
document.body.append(style);

const waitForElem = (selector) =>
  new Promise((resolve) => {
    if (document.querySelector(selector)) {
      return resolve(document.querySelector(selector));
    }
    const observer = new MutationObserver(() => {
      if (document.querySelector(selector)) {
        observer.disconnect();
        resolve(document.querySelector(selector));
      }
    });
    observer.observe(document.body, {
      childList: true,
      subtree: true,
    });
  });

waitForElem(
  `[class*="${WIDGET_ID}"] [class*="SubmitMessage__Message-sc"]`
).then(() => style.remove());

```

  

Replace `WIDGET_ID` in the 1st line of the code with the [ID of your widget](https://help.elfsight.com/article/1219-where-to-get-your-widget-id-in-new-dashboard) and add the resulted code to the Custom JS field on the Settings tab of your widget’s settings 😉

---

<div class="post-metadata">

**Author:** ![Noah\_Beard](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Noah\_Beard](https://community.elfsight.com/u/Noah_Beard)\
**Post date:** [May 15, 2025, 8:31pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/19 "2025-05-15T20:31:48Z")

</div>

Max, this solution does not work. Hundreds of people have been asking for this feature for months and still no progress. This is the whole reason I got this app to be completely honest because I figured it would eventually have to come out. If it is so easy to make a custom solution, then just release it to everyone in an update. We’ve been waiting for months and everyone who uses the calculator widget says the same exact thing and probable all too got the app for this reason. Just make it, it would take your devs an hour or two out of their day to do so. Please.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 16, 2025, 11:45am UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/20 "2025-05-16T11:45:25Z")

</div>

Hi there, @Noah_Beard 👋

Thank you for the feedback!

I completely understand your excitement about this option and agree that it would be a great enhancement.

We’d really love to roll out new features faster, but with so many requests coming in, we have to prioritize them based on their complexity and community votes.

While this feature might seem straightforward, there’s actually a lot that goes into it. First, we design the feature, then pass it to development. Once the development is over, our team thoroughly tests it to catch any issues before release. All of this takes much time, as we want to make sure everything works smoothly for you 🙂

At the moment, there are a lot of requests with the higher priority level and our devs are focused on them now. If this request gets more votes, it might be prioritized sooner, but it’s still hard to give any predictions for now.

If any news comes up, we’ll promptly update you here!

As for the custom workaround I’ve shared before, I’ve checked it in my test widget and it’s working great:

  

Could you please double-check it? If it’s still not working in your widget, please send me a link to the page, where your widget is installed. I’ll gladly check it for you 😉

> **Note:** Keep in mind that the JS code works only upon widget’s installation, not in the preview mode.

---

<div class="post-metadata">

**Author:** ![user30640](https://avatars.discourse-cdn.com/v4/letter/u/59ef9b/32.png) [@user30640](https://community.elfsight.com/u/user30640)\
**Post date:** [November 22, 2025, 9:03pm UTC](https://community.elfsight.com/t/hide-results-until-form-completion/48840/21 "2025-11-22T21:03:18Z")

</div>

Wondering if there’s a way to get emails / name of user first before they see the result of the calculator.

[Next page](https://community.elfsight.com/t/hide-results-until-form-completion/48840.md?page=2)
