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

how to TextBox1 date values ​​are displayed in TextBox2(read only)?

andrewchow11
Registered: Mar 28 2011
Posts: 20

hello,
 
I create a textbox1, format set to "Date(dd/mm/yyyy)",
after that, create another textbox2, input textbox1 value is 01/01/2011,
 
how to TextBox1 date values ​​are displayed in TextBox2(read only)?

My Product Information:
Acrobat Standard 9.0, Windows
George_Johnson
Online
Expert
Registered: Jul 6 2008
Posts: 1876
In the validate event of textbox1, copy the value to textbox2. Something like:

  1. getField("textbox2").value = event.value;
But specify the exact name of the second text field. In your example, you used both "textbox2" and "TextBox2", which is not the same.
andrewchow11
Registered: Mar 28 2011
Posts: 20
thankyou George Johnson,

If the textbox change to checkbox, how to do?

I create a checkbox1, after that, create another checkbox2, checked checkbox1,
how to checkbox1 checked ​​is same as in checkbox2(read only)?