cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide a screen field and button in Hybrid Workflow App screen.

Gairik
Participant
0 Kudos

Hi Experts

I'm facing issues while hiding a screen-field or buttons ( NOT a menu item ) using hybid web container programming . I have tried the following events and the logic but it is not getting hidden. I'm using iOS to test the application . The key of my element name is "Settings". I'm using SUP 2.2

1. functions tried to use

   a.

function customAfterWorkflowLoad()

b. customBeforeShowScreen()

c. customAfterShowScreen

2. Logic used :

a.

var sett = document.getElementById("Settings");

  sett.style.display="none";

b.

var sett = document.getElementById("Settings");

  sett.style.visibility='hidden';

Can anyone please suggest .

Regards

Gairik

Accepted Solutions (0)

Answers (1)

Answers (1)

midhun_vp
Active Contributor
0 Kudos

Try below code inside customBeforeWorkflowLoad(),

$('div#Settings').hide();

- Midhun VP