These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Locking a table

mfensom
Registered: Mar 18 2009
Posts: 4

Hi,
I have LiveCycle 8.2 and created a form with a table that calculates the values within the cells and gives a grand total.
The first user will imput this data, save the pdf and send to a second user where they check the amounts and if they agree to the costs then enter their name and cost center number for internal billing and then send back the xml data file via email.
My problem is that this second user, if they so wish, could amend the amount.

Is there anyway the first user could protect the table after they imput their figures before sending to the second user so they cannot alter the figures?

Am I asking too much?

Kind regards Mark

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
You have to indicate which fields to lock upon signing the form .

George Kaiser

mfensom
Registered: Mar 18 2009
Posts: 4
I'm not sure how to do that can you explain the process please
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can create a button for the first users to protect the form before they mail them back.

// Step1. Protect all form fields
var oFields = xfa.layout.pageContent(i, "field");
var nNodesLength = oFields.length;
for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++)
{
oFields.item(nNodeCount).access = "protected";
}
// Step 2. Reopen the fields Name and CostCenter for the second users
Name.access = "open";
CostCenter.access = "open";

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs