ChrisHesenflow
5 years agoQrew Member
Conditional Button
I have a button I've created for use in my forms that saves the current record/changes and then exits to the dashboard.
My question is, can I make this button's destination conditional in the sense that I'd like it to return to the dashboard specific to a user's role. For example my dashboard as Admin may be different than that of a Participant.
Here is my current button code:
Thanks in advance for any insights.
------------------------------
Chris Hesenflow
------------------------------
My question is, can I make this button's destination conditional in the sense that I'd like it to return to the dashboard specific to a user's role. For example my dashboard as Admin may be different than that of a Participant.
Here is my current button code:
"<a style=\"width:310px; text-align: center; background-color: #0274be; color: #fff; padding: 10px; text-decoration: none; font-weight: bold; border-radius: 4px; margin-left: -50px; text-transform: uppercase; \" onclick='DoSaveAdd()' href='https://MY ADMIN DASHBOARD URL'>Save Changes & Exit</a>"
//Saves changes and exits to the dashboard
Thanks in advance for any insights.
------------------------------
Chris Hesenflow
------------------------------