Forum Stats

  • 3,837,675 Users
  • 2,262,284 Discussions
  • 7,900,351 Comments

Discussions

item.show(), item.hide() not working?

John like many others
John like many others Member Posts: 116 Blue Ribbon

Hello

I'm working with Apex 19.2 and I would like to simply show/hide page items (in Javascript). While setting a value in the item show() and hide() seems not to work:

apex.item( "P31_MESSAGE" ).setValue('this works');

-> Works

// Show a page item that is of type "Hidden"

apex.item( "P31_MESSAGE" ).show();

-> Item won't be shown

// Hide a page item that is of type "Text Field" or "Display only"

apex.item( "P1_MESSAGE" ).hide();

-> Item won't be hidden


What am I doing wrong? This should be fairly simple...

Tagged:

Answers