Automatically hide fields

Certified Senior Developer

I am having one form ie. customer form, I need to hide the 2 fields like dob and email id from basic user automatically , like we can keep showwhen condition in the form itself but it is manual process , need to do automatically .. is there any way to do this? in appian

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to laxmipavanik0001

    It's not a manual process... after integration execution, check response.... If contains any error, set that variable to false, otherwise, set it to true.

    Place that variable in showhen property... and it will work without any manual interaction... 

    For example

    showWhen: or(
    local!selectedDate=today(),
    local!selectedDate=today()+5
    )

  • 0
    Certified Lead Developer
    in reply to laxmipavanik0001

    What makes you say it's "a manual process"?  The ShowWhen parameter is expressionable.  Meaning, you can use literally any evaluation logic in the entire Appian library of expression functions and associated expression logic, to evaluate the showWhen for any or every given field.

    In your case it seems like you would merely need to check the current user's group membership.  Surely you know how you would check a user's group membership if you've taken and passed the Senior Certification exam...?