Copy field from one Wizard tab to another

I need to copy the contents of a Lookup Field to another tab within a Wizard container. I am open to any combination of controls that accomplishes this.

Scenario: On tab 1 the user uses a multiple selection lookup field. On tab 2 these selections must be displayed in a read-only format.

I have considered and failed at this with a variety of combinations (SharePoint Lookup to Common DropDown / SharePoint Lookup to Multiple Choice / SharePoint Lookup to Lookup Control). This is similar to SharePoint / Text Field duplication in theory.

Hello @EasyCom,

You can use the Text control and the code:

fd.field('LookupFieldName').$on('change', function(value){
    if(value.length > 0){
        let result = value.map(a => a.LookupValue);
        fd.control('Text1').text = result.toString();
    }
    else {
        fd.control('Text1').tex = '';
    }
})

How would I add line feeds? Making the control follow the same formatting of the Lookup field

@EasyCom,

What line feeds do you mean? Please share more details.

The text field ends up as a comma-delimited list (e.g. Text1: selection 1, selection 2, selection 3, ...). The preferred format would be
Text 1:
Selection 1
Selection 2
Selection 3
...

@EasyCom,

You can add line breaks using the join() function like so:

fd.field('LookupFieldName').$on('change', function(value){
    if(value.length > 0){
        let result = value.map(a => a.LookupValue);
        fd.control('Text1').html = result.join(' </br> ');
    }
    else {
        fd.control('Text1').html = '';
    }
})