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

Need to Copy field to other field in Adobe Designer

patelxyz
Registered: Jul 16 2008
Posts: 5

I am new to this forum. I am working on Adobe Designer 7.0. I like to copy value of a field to another field by default or by using button click, but it has not worked out so far. I have done following so far. Your comments, corrections and advice is appreciated.

I have two fields text2 and text2. The button has a javascript attached as click as:

var textcopy = text1.rawValue;
text2.rawValue = textcopy.value

I created variable textcopy and its value as text1

When I click the button, it doesn't do anything.

What am I doing wrong?

Thanks for your help.

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
> text2.rawValue = textcopy.valueThis should probably be:

text2.rawValue = textcopy;


George
patelxyz
Registered: Jul 16 2008
Posts: 5
Tried this but still doesn't work.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
That's probably because text1 is not a valid reference to a field. Maybe someone else will show you how to do that.

George