Expand my Community achievements bar.

Problem with the Signature field

Avatar

Level 4

Hi All,

Good day. I am having problem making a script work in the Adobe LiveCycle. Basically what I am trying to achieve is lock most of the fields on a form when the signature field is click. Note: Not all the fields should be locked. I then wrote a sample script with one of the field as follows:

if(employeeSig.rawValue !=null){

   EmployeeLastNa.access = "protected";

}

But surprisingly it does not work. I have placed this code on the Click, PostSign, and even PreSign events, respectively, but it does not work. I am just wondering what I may be doing that is wrong.

Thanks

v/r

lucp

1 Reply

Avatar

Level 3

Hi -

rawValue does not work on signature fields, so that code will do nothing.  Use the collection feature in the signature panel to lock particular fields:

Snap1.jpg

Create a collection then modify it to lock whatever fields you need.