Set 1 image in 2 Image fields | Community
Skip to main content
rakeshk21205956
Level 3
May 2, 2021 12:41 PM UTC
Solved

Set 1 image in 2 Image fields

Sir,

I have 2 Image Fields,  now i want that whatever i upload in Image Field1  the same image should be uploaded in Image field 2  automatically.

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
May 4, 2021 7:54 AM UTC

@rakeshk21205956  gave the answer.

//Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;

Kautuk Sahni

3 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
May 4, 2021 7:54 AM UTC

@rakeshk21205956  gave the answer.

//Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;

Translate
Kautuk Sahni
BrianKasingli
New Participant
May 3, 2021 12:16 PM UTC

Try using JavaScript to render the images on both image fields after an upload is being made.

Translate
rakeshk21205956
Level 3
May 2, 2021 12:52 PM UTC
Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;
Translate