Set up different profile fields for different users

Created by Sofie Brijs, Modified on Fri, 17 Dec 2021 at 04:55 AM by Sofie Brijs

Depending on the type of event that you're organising you might have different kind of users. Therefore not all profile fields might apply to all your users. For example: an event with employees and students. For employees you want to add 'jobtitle' and 'company', whereas for the students you want to add 'study' and 'school' as profile fields. 


To make a distinction between employees and students, we will work with a 'hidden field', 'hide expression' and 'conditions'.


How to configure different profile fields

  • Go to the dashboard
  • Select the event that you want to configure
  • Go the general information & event settings
  • Go the profile configuration & custom ccs
  • Add all the profile fields that you want to include for both kind of users
    (for example: jobtitle, organisation, study and school)
  • Add a new profile field 'typeofuser' and select 'hidden'

  • In order to prevent that students will see the profile fields 'organisation' and' 'jobtitle' or employees will see the profile fields 'study' and 'school' when clicking on their name in the menu bar you will need to insert a 'hide expression'.

    The format of a hide expression is the following: field.parent.model.X !== 'Y'
    • X = the key of your hidden profile field (in this case: typeofuser)
    • Y = the type of user for who this profile field may be visible 
      • For 'organisation' and 'job title', Y = employee
      • For 'study' and 'school', Y = student
    • In this case you will need to fill in 4 hide expression for: organisation, job title, study and school 


Instructions for using multiple values in the hide expression:

Write ' && ' behind your first expression to add another one

For example: field.parent.model.X !== 'Y' && field.parent.model.X !== 'Z'
For example: field.parent.model.typeofuser !== 'student' && field.parent.model.typeofuser !== 'employee'

How to configure different subtitle lines

  • Once you have added a hidden profile field, you can now continue with the subtitle lines in the attendee info card
  • First configure the desired subtitle lines
  • Select 'add condition'
    • Select 'typeofuser' under 'profile field'
    • Write 'employee' under 'value' of the corresponding subtitle line
    • Write 'student' under 'value' of the corresponding subtitle line


Explanation: by setting up this condition we will only display this subtitle line IF type of user = employee


Explanation: by setting up this condition we will only display this subtitle line IF type of user = student


VERY IMPORTANT !! in order for this conditional formatting to work, you need to indicate what type of user each attendee is. You can do this via the bulk upload or you can add this manually via the user menu in the dashboard: 


Bulk upload



Manually via the user menu



Result:


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article