How to transclude a tiddler whose title is given by a field value or variable

Hello

I refer to my topic Routine for creating a list, the result of which is the following routine to create a simple list.

\procedure enterActions()
<$action-setfield $tiddler="List/data"
  $value={{{ [{List/data!!text}addsuffix<.lf>addsuffix[* ]addsuffix{!!temp-input}] }}}
/>
<$action-setfield $field="temp-input"/>
\end

\function .lf() [charcode[10]]

<style> input.testclass 
{ 
border-top:none; 
border-left:none; 
border-right:none; 
color: grey; 
outline: none; 
border-bottom-width:thin;
width:95%;
}
</style>

<$keyboard key="Enter" actions=<<enterActions>> >
<$edit-text field="temp-input"
  placeholder="Add new entry here"
  default=""
  tag="input"
  class="testclass"
/>
</$keyboard>
<$button actions=<<enterActions>>
  class="tc-btn-invisible tc-tiddlylink"
  tooltip="Add entry"
>
  {{$:/core/images/new-button}}
</$button> 

{{List/data}}

Data storage location: [[List/data]]

I now want to tweak the code so that the title of the tiddler referred to as “List/data” is given by a field value or a variable.

If i change the second ine in the code to

<$set name=target value={{!!select-title}}>

the routine works as intended.

I am struggling to work out how to change {List/data!!text} in the third line, to get the desired result.

Any advice would be appreciated.

Cheers, Rob

replace with {!!select-title}get[text]

-e

Many thanks @EricShulman. Thanks for coming to the rescue.

For those of you who may have been confused by my comment above about the change that I made to the second line, it was actually changed to <$action-setfield $tiddler={{!!select-title}} and not as stated in the post.

Cheers, Rob