cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically make input fields to read only in Adobe Java forms?

Former Member
0 Kudos

Hi Experts,

How to dynamically make input fields to read only in Adobe Java forms?

Based on the option selected in the selection screen, in the next screen the adobe form should have somefields read only and some fields input. How can I achieve it in WebDynpro Java based Adobe form?

Regards,

Shobhit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shobhit,

Nice to read the word - "Adobe java forms" :).

In WD Java, you can pass a flag to the form and check the flag through scripting.

something like -

if ( flag == 'X' ) then

$.access = "readOnly";

endif.

Hope this helps,

- anto.

Former Member
0 Kudos

Thanks Antony!!

Well, its a pain to write <b>Adobe Interactive forms in WebDynpro Java</b> so I used <b>Adobe Java</b>.

Coming bak to the topic... I come from WebDynpro Java to Adobe.. I am yet to use scripting in Adobe. Can you explain mestep by step on what is to be done to make a field read only dyamically.

If you can proide some docs on adobe scripting, it would be great!!

Thanks,

Shobhit

Former Member
0 Kudos

Refer Adobe Designer help and adobe development center -> scripting samples. The links are alreday posted in similar threads.

You may also refer to some good blogs on scripting in SDN like <a href="/people/juergen.hauser2/blog/2007/05/30/useful-documentation-for-developing-interactive-forms one :).</a>

- anto .