Skip to main content
Participant
March 12, 2019
Answered

How to lock certain fields in a form?

  • March 12, 2019
  • 1 reply
  • 21103 views

I use adobe forms for my contracts in a roofing business. I need my sales staff to be able to fill in the prices for several options and lock those fields before sending to customer. I will then need the customer to be able to select contract choices, color selection and sign. The only option I'm tech savvy enough to know is to make the price fields "read only" after filling them in. My staff aren't quite advanced enough to do that every time. I'm sure there's a more efficient method. **I have no idea how to create a javascript code, button or bookmark**

Correct answer try67

The basic code to do it is:

this.getField("FieldName").readonly = true;

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 13, 2019

The basic code to do it is:

this.getField("FieldName").readonly = true;

Participant
March 13, 2019

Pardon my ignorance, but what do I do with the basic code?

try67
Community Expert
Community Expert
March 13, 2019

You can attach it to the MouseUp event of a button field, for example.