The first picture is my main form. The seconds function is for the user to sign in and sign out which going to the sign in datasource. I want the default value in the first card to be based on the persons yes/no . This is what I have so far for the default value LookUp('Sign In_1', 'Signed In?'= true, false && Email = vUserMail). The column for signed in and the first datasource is both yes/no. I know I am close, I just need to know how to default the signed in portion.
Solved! Go to Solution.
Hi @powerapps890 ,
Do you want to set a toggle's Default based on current user?
Could you tell me
1)the data type of 'Signed In?' field?
2)the data type of Email field? how do you set varUserMail variable?
I assume that:
'Signed In?' data type is yes/no
Email is text type.
varUserMail is used formula like this to set: Set(varUserMail,User().Email)
To set a toggle's Default, you should use formula like this:
LookUp('Sign In_1',Email = vUserMail).'Signed In?'
Best regards,
Hi @powerapps890 ,
Do you want to set a toggle's Default based on current user?
Could you tell me
1)the data type of 'Signed In?' field?
2)the data type of Email field? how do you set varUserMail variable?
I assume that:
'Signed In?' data type is yes/no
Email is text type.
varUserMail is used formula like this to set: Set(varUserMail,User().Email)
To set a toggle's Default, you should use formula like this:
LookUp('Sign In_1',Email = vUserMail).'Signed In?'
Best regards,
User | Count |
---|---|
183 | |
106 | |
89 | |
44 | |
43 |
User | Count |
---|---|
226 | |
108 | |
106 | |
68 | |
67 |