Skip to Content
avatar image
Former Member

Form Control based on Roles

Is it possible to control form display in HCM Forms & Process?

Is it possible to disable the print button in the adobe form for Manager role? What are the settings one should be to achieve this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 23, 2009 at 10:04 AM

    You can set the visible of particular UI element at particular Scenario Step which the user can approve with the role.

    if( $record.FORM_SCENARIO_STAGE.DATA[*].FIELD == "FSS_STEP_NAME" )
    then
    	this.presence = "visible"
    else
    	this.presence = "hidden"
    endif
    

    Kind Regards,

    Mukesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am also having same issue , I want to set two field f1,f2 as read only based on STEP - request .

      I tried this code but its not working.

      Can you tell me is I am doing some thing wrong.

      Thanks