Custom Resiult_Ids Issue

Hello,

i want to make my custom result ids and submit my form using cm-ajax cm-ajax-full-render. It works fine and i m getting response in console but the problem is that if i use

Tygh::$app['ajax']->assign('res', $res);

then after

Registry::get('view')->display('addons/my_changes/custom.tpl');

i m not able to retrieve the value of res on my tpl.

Any Suggestions ?

For example, if the custom result_ids is my_id, your template should have the following structure

... CONTENT HERE ...