The first option is to use the text transporter plugin and the second option is to create a macro and create a capture choice 1 and capture choice 2 and enable the task option in both and the daily note path in capture choice 1 and to-do file path in capture choice 2 and then do something similar in capture format
capture choice 1
{{value:Enter the task}}
capture choice 2
{{value:Enter the task}}
By duplicating variables, you don’t have to rewrite the task again.