Forum Discussion
MCFNeil
9 years agoQrew Captain
If your [Employee Name] field is a User field, then you can do it by making the formula cantain an if that evaluates the current user:
If([Employee Name]=User(), "My button formula for employee agrees goes here", "")
That will show the button for only the user in the employee agrees section, otherwise it will be blank.
If([Employee Name]=User(), "My button formula for employee agrees goes here", "")
That will show the button for only the user in the employee agrees section, otherwise it will be blank.
MCFNeil
9 years agoQrew Captain
Put it before your second section.... with a slight change
If([Employee Name]=User() AND [Employee Agrees Check]=false,
"<a class=\"Vibrant Primary\" href=\"javascript:" & "$.get('" & $url &
"', function(){" & "location.reload();" & "});" &
"void(0);\">Employee Agrees</a>",
""
)
If([Employee Name]=User() AND [Employee Agrees Check]=false,
"<a class=\"Vibrant Primary\" href=\"javascript:" & "$.get('" & $url &
"', function(){" & "location.reload();" & "});" &
"void(0);\">Employee Agrees</a>",
""
)