How can I show one jotform in lightbox, but have each link for different employee, while hidding the employee list

  • Profile Image
    Asked on January 20, 2015 at 02:30 PM
    The second is more of a question: I don't want to have to create a contact form for each staff but my client would like the user to click an "email me" link and have a form that goes to that employee in a lightbox. Is there some type of variable that can be passed to do this with jotform?
  • Profile Image
    Answered on January 20, 2015 at 03:37 PM

    I think you can sort that out using conditional logics.

    So for your scenario, maybe adding a dropdown menu with the names of the employees would make the trick. In any case, maybe giving us more details about your scenario will help us to give you a better solution.

  • Profile Image
    Answered on January 20, 2015 at 09:18 PM

    Nope, that won't do. The pop up will just have:




    No dropdown. The conditional would have to be in the email click code itself. Like passing a variable to a hidden field that would hold the conditionals to the recipient.

    The recipient will be determined by the email click. I figure I will just make a form for each person. That is the only way I know to do it via jotform.

    I wanted to keep all their forms in one place and not have to use gravity forms.


  • Profile Image
    Answered on January 21, 2015 at 02:56 AM

    Hi Melanie,

    Actually, the guide to which my manager referred would work for this too. It's just that instead of having a dropdown from which to select the names, the conditions would be set on the Full Name field. However, there are a couple of issues here:

    1. The only type of checks which can be performed on a Full Name field are if it is empty or filled:

    and what's needed for this is one which checks if the name entered matches what you enter in the email box:

    2. The other issue is that if the name entered by the user doesn't match exactly with what you enter in the condition, the email won't be sent

    For the above reasons, it would be better to use a dropdown for the name where all the employee names would be listed. Since a dropdown's options can't be edited by end users, there would be no chance of the names not matching.

    If you need clarification on anything, we'd be glad to provide it.


  • Profile Image
    Answered on January 21, 2015 at 03:48 AM

    Hi again,

    Only sometime after posting my reply did I realize that its second screenshot could be confusing because it depicts a "Show/Hide" condition instead of a Send an e-mail after submission one. What I meant was that once the name selected matches what you entered in the condition, the email would be sent to that user:

    From the above you'll notice that the notifiers are labelled according to the employees' names. That isn't necessary but it makes it easier to match the correct notifier to the email you enter in the box.

    After creating all the conditions, you'll see Conditional next to each notifier

    indicating that the email will only be sent when the condition is met.