Can I hide/show fields based on which user is viewing the form?

  • ashcreighton
    Asked on June 2, 2017 at 7:39 PM

    I want to set it up so certain fields are only visible to specific users.

    Is this possible?

    Thanks!

    -Ashley

  • BJoanna
    Replied on June 3, 2017 at 2:30 AM

    You can use Show/Hide Fields conditional logic. 

    How to Show or Hide Fields Base on User's Answer

    For example, you can set your conditions base on email address that your users used. You can also check this guides: 

    Hide or Show Multiple Fields at Once

    Show or Hide Multiple Fields at Once Using the Form Collapse Tool

    Hope this will help. Let us know if you need further assistance.

  • ashcreighton
    Replied on June 3, 2017 at 9:09 PM

    Thanks for the quick reply!

    I'm pretty familiar with conditions and the show/hide fields conditional logic. However, I'm looking for a way to have the form detect if a user is logged in and display/hide fields according to the user, without requiring the user to type their credentials into fields on the actual form itself.

    Is there any way to achieve that functionality?

  • Elton Support Team Lead
    Replied on June 3, 2017 at 11:42 PM

    That's not possible in the form builder alone.

    You can, however, achieve that if you will add custom functions in your form by injecting script into it. You can add custom scripts in your form when you use your form source code http://www.jotform.com/help/104-How-to-Download-a-Source-Code-of-your-Form.

    If you have any other questions, let us know.

  • ashcreighton
    Replied on June 8, 2017 at 8:43 PM
    Thanks Elton.
    I don't know how to code this functionality.
    Is there any resource to which you can direct me?
    Or - do you know where I might find someone I could hire to develop this
    for me?
    Thank you:)
    -Ashley
    JotForm wrote:
    ...
  • David JotForm Support Manager
    Replied on June 8, 2017 at 10:07 PM

    You will need to hire a developer to accomplish what you need. You can find and hire one in Upwork: https://www.upwork.com/.

    Open a new thread if you have another question.