cancel
Showing results for 
Search instead for 
Did you mean: 

How to make Image Field readonly or any other substitute solution

Former Member
0 Kudos

Hi,

What is the attribute or property to make an image field in a form read only.

It is an image field only,not just an image, because I need events on clicking that image.

But the problem is that when I render the image in the form, when user clicks it shown a browse icon to upload an image in that place. I dont want that to happen. The image by itself should be display only, but I want to process events like "on click"

Thanks,

Harish

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member214651
Active Contributor
0 Kudos

Hi,

U can change the access of any field to read-only using the scripting language "FormCalc". The syntax is:

in the docReady event of the form:

<path of the UI field>.access = "readOnly";

for further info on scripting in Interactive forms:

http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_ba...

Hope this helps you.

Regards,

Poojith MV