Could anyone share javascript to access one prompt and populate another prompt with the corresponding value. I have 2 value prompts. User would select one prompt value. Second prompt should get populated with the value that is at the same index number as in the first prompt
It really sounds like you are venturing into cascading prompts where the first prompt selection dictates what will appear in the second prompt. FOr instance, the first prompt might ask the user to select a region which would trigger the second prompt to display all the stores in the region selcted in the first prompt. If this is correct in what you want to do, you will find this functionality in the properties pane of the second prompt asking you to indicate the cascading source which would be the source for the first prompt.
Make sense? Am I on the right track answering your question?