Skip to Content

Visible property is not working.

Hi All,

I am struggling with the visible property of a control. I am working with WDJ on NWDS 2.0 version and NW 2004. On clicking on the check box I want to make visible and invisible a dropdown box.

I have writtern the javascript for this function in change event of checkbox.

if(this.rawValue == "1")

{

xfa.host.messageBox("If statisfied");

TestDrop.presence = "visible";

}

else

TestDrop.presence="invisible";

In preview view this is working, but when I deploy the same form and run the IE, it is not working. If condition is satisfied then I can see the popup, but dropdownn is not getting displayed. This was working earlier a week ago but suddenly stopped working. When I make the dropdown by default visible and test it, then I could see a different change i.e., dropdown right part (button) turns to visible and invisible not the full control.

My ADLS is of 8.2 Version and Reader is of version 8.

Is there any thing to with the usage rights ? Any Idea, why is it behaving differently.

Thanks

Chinna.

Edited by: Chinna Babu on Sep 20, 2010 5:52 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Sep 20, 2010 at 08:42 AM

    It will not work because you are NOT using correct version of Adobe LiveCycle Designer.

    1. ALD 8.2 is still NOT supported by SAP. It will be only for EHP2 I guess.

    2. Looking at your landscape (NW 2004), you should be developing your forms in ALD 7.1 ONLY.

    Creating forms in any other version is going to be an issue.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi

      Even after with NWDS 2.0, ALD 7.1 Visible/Hidden property is not working. When I set the presence to "invisible" in javascript for a button, I can see the label on the button disappers.

      Is there anything to test from Server perespective, because now I am using all the compatable versions.

      NWDS 2.0.9

      ALD 7.1

      NW 2004

      Adobe Reader 8.0

      IE 7

      Form properties set in NWDS are : PDF Render format set to "Acrobat 7.0.5 Dynamic PDF".

      Will it work on Acrobat reader incase?

      Please suggest me anything else can be done either from development system or Netweaver Server.

      Thanks

      Murthy

  • avatar image
    Former Member
    Sep 20, 2010 at 07:29 AM

    Are your credentials still valid?

    Please check with report 'FP_TEST_IA_01' - as suggested in SAP NOTE : 999998

    Please try!

    Add comment
    10|10000 characters needed characters exceeded

    • Hi

      I have verified the ADS Configuration in Visual Administrator. Its licence is till 2023.

      I don't understand the issue when it is working in preview tab why is it not working after the form render from server.

      Is there anything to do with the adobe reader version in developement system with the server.

      My Adobe reader is : 8.2

      Adls is: 8.2

      NWDS is : 2.0

      NW 2004.

      Thanks

      Murthy

  • avatar image
    Former Member
    Sep 21, 2010 at 10:38 AM

    Remove the code for the message pop up and then try.I faced the same problem in static PDF form and got resolved with this.You can give it a try.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi

      I have below script on change of check box

      if(FormSource.subform.Sex.rawValue == "1")
      {
      	FormSource.subform.TextField1.presence = "hidden";
      	FormSource.subform.Name.presence = "hidden";
      }

      I didn't see any change on "change" event.

      if(FormSource.subform.Sex.rawValue == "1")
      {
      	FormSource.subform.TextField1.presence = "invisible";
      	FormSource.subform.Name.presence = "invisible";
      }

      on change of this event, I could see text in Text Control disappears. Any Idea why is it behaving so?

      Thanks

      Murthy

  • avatar image
    Former Member
    Sep 21, 2010 at 12:05 PM

    Hey Murthy,

    One suggestion, I'm not sure how it is in Java WebDynpro, but in ABAP you have a flag that you pass to the ADS to tell it that it is a Dynamic form. Has this been set ? There are two flags, one of them is the indicator for Interactive forms, the other one is the Dynamic form one.

    Cheers,

    Wouter.

    Add comment
    10|10000 characters needed characters exceeded