On Wednesday, Sep 24, 2003, at 18:54 US/Central, Nicholas Jon wrote:

You are right in your evaluation of the way fields react in pdf.

One solution may be to create the original field such as attorney_name and name all the other fields attorney_name1 making the second set readonly.� Create a javascript such as:

this.getField("attorney_name1").value = this.getField("attorney_name").value;

Put this js in the "calculate" part of the field for attorney_name.

This will populate all the other fields and they will still be readonly (ro).
If you only have a few fields to do this with it won't be too much work.

Its not elegant, but it is effective.�

I'd recommend you place the script above in a validation script, instead of a calculation script.. As long as the form has only a few fields, either way will do just fine. But if you have many different fields with many different calculations, then the calculation of all fields is triggered when any calculated field changes. This can slow down your form's performance to the point where it becomes irritating to the user.
Jim Plante
<[EMAIL PROTECTED]>

Reply via email to