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

Set 1 image in 2 Image fields

  • May 2, 2021
  • 3 replies
  • 990 views

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.
Best answer by kautuk_sahni

@rakeshk21205956  gave the answer.

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

3 replies

rakeshk21205956
Level 3
May 2, 2021
Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;
BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 3, 2021

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

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
May 4, 2021

@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