TextField1 Value duplicated in TextField2.

Avatar

Avatar

Arnold_L

Avatar

Arnold_L

Arnold_L

16-03-2009

Hi,



My form has two TextFields, (TextField1 and TextField2)



TextField1 receives values from a few CheckBoxes.



As TextField1 populates the text, TextField2 should mimic TextField1.



***Very Important***

TextField1 is also editable by the user.



If additional text is added or deleted from TextField1, TextField2 should follow any changes always identical.



If anyone has any information I'd appreciate it.

Thank You,

Arnold Love

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

16-03-2009

On the calculate event of TextField1 set this command:



TextField2.rawValue = TextField1.rawValue;

Avatar

Avatar

Arnold_L

Avatar

Arnold_L

Arnold_L

16-03-2009

Thank You Paul, I'll Try it now,

Avatar

Avatar

Arnold_L

Avatar

Arnold_L

Arnold_L

16-03-2009

Hi Paul,



I made a sample.



TextField1's data can duplicate the value into TextField2.



But when I manually type data into TextField1, TextField2 will not copy the data.



Anyway I can fix that?



Arnold Love

Avatar

16-03-2009

Put it additionally in the exitfield formcalc of TextField1

TextField2.rawValue = TextField1.rawValue;

Tried it, it works ;D



Lisa