-
levif130Asked on June 21, 2024 at 10:41 AM
how can i make a pop up if something is less or over a certain number?
-
Arslan JotForm SupportReplied on June 21, 2024 at 11:36 AM
Hi Levi,
Thanks for reaching out to Jotform Support. You can add a pop-up message if the number is less or greater than a certain number. You can add a Single Choice element and Paragraph element on your form and then set Show/Hide Condition to hide the pop-up message. Let me walk you through it:
1. In Form Builder, click on the Add Form Element menu on the left side of the page.
2. Under Basic tab, scroll down to a Single Choice element, and drag and drop it on your form.
3. Now, drag and drop the Paragraph element on your form.
4. Click on the Paragraph element on the form, and then click on the Pencil icon, located on the right side.
5. Click on Source Code icon, located in the blue menu bar.
6. Paste the given below code in source code. .
<p><a class="button" href="#openModal" rel="nofollow">Click Here!</a></p>
<div id="openModal" class="modalBox">
<div>
<p><a class="close" title="Close" href="#closeModal" rel="nofollow">X</a></p>
<h2>Hey there!</h2>
<p>Here's a pop-up modal window.</p>
<p>You can customize this with your own message.</p>
</div>
</div>
7. Then, in the orange navigation bar at the top of the screen, click on Settings.
8. In the menu appears on the left side of the screen, click on Conditions.
9. Click on Add Condition, and select Show/Hide Field.
10. Set the conditions as given below.
11. Hide the Paragraph field on the form by right-clicking on the mouse and then select Hide.
Give it a try and reach out again if you have any other questions.