Expand my Community achievements bar.

Copy image field??

Avatar

Former Community Member

Hi All

I have a form with some image fields.

when the user selects the image required to begin with, I need to copy this image to another location within the form also.

Can this be done rather than the user having to click twice?

Thanks

1 Reply

Avatar

Former Community Member

Its simply a case of copying the rawValue of one field to the other. Something like this:

ImageField2.rawValue =

ImageField1.rawValue

where ImageField1 is the field that the user selects the image in and ImageField2 is the target for the copy.

You can put the code on the click event and it will work.

Paul