Skip to Content

Re:Interactive Form in webdynpro java

Hi Experts,

I have designed a form in ALD. And open in NWDS.The form containing 3 buttons.

1) Submit(WebDynpro Native Type)

2) Approve(WebDynpro Native Type)

3) Reject(WebDynpro Native Type)

I have write a JavaScript for readOnly format in the click event of Submit button.Its working fine in ALD.But when am trying run my form in NWDS its not working.i.e when i click submit button in the form the entire form must be readonly. How i can archive this. Can anyone suggest me how to do.My JavaScript in click event of Submit button is

for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++)

{

var oFields = xfa.layout.pageContent(nPageCount, "field");

var nNodesLength = oFields.length;

for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++)

{

oFields.item(nNodeCount).access = "readOnly";

}

}

please help....

Regards,

Venkat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 14, 2011 at 09:15 AM

    Hi Venkat,

    You may need any JavaScript to do this.

    In Designer you can setup the signature field in that way, that all fields will be locked after signing.

    Look here:

    Link: [http://forums.adobe.com/message/3121870?tstart=2]

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member G.venkata krishna rao

      Try the following code:

      Use the following code.

      document.forms[['myFormId']].myTextArea.setAttribute('readonly','readonly');

      Cheers!!!

      Umang 😊