Forum Discussion

KarahWeber's avatar
KarahWeber
Qrew Member
3 years ago

only view fields if use is in given field

So I work for a real estate company and there are multiple agents listed on a transaction record. Each agent can't see the other's information which is listed in the transaction. I want to be able to hide fields if the user is in the role "agent 1" or hide different fields if the user is in the role "agent 2"

The solution is NOT to have a different record per agent per transaction, it won't work for a bunch of reasons I won't bore you with.
Thank you!!

------------------------------
Karah Weber
------------------------------

7 Replies

  • No problem, you can do this easily using form rules.

    Set up a formula that starts with win the user is in the role. 


    you can also start a rule when multiple conditions are true. That will allow you to list multiple roles. 


    For example when the users in the role of agent one or the user is in the role administrator and show certain fields.



    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------
    • KarahWeber's avatar
      KarahWeber
      Qrew Member

      Thank you Mark!
      Unfortunately I misspoke. The Agent is not in the "role" of agent 1, but is listed in the Transaction record Field called Agent 1.
      So I can't restrict with the form rules. 
      Also, each agent can sometimes be agent 1 or agent 2, it just depends on the transaction.

      Sorry for the misstep, but I'm crossing my fingers that you still have a solution for me!

      Thank you again-



      ------------------------------
      Karah Weber
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend

        Ok, well still no problem.

        "When agent 1 is the current user then show or hide"

        Of course this assumes that these agent fields are user fields.



        ------------------------------
        Mark Shnier (YQC)
        mark.shnier@gmail.com
        ------------------------------