Dynamic form row variable not work

'll try to be clearer.
In an ADD page I choose to use dynamicyablerow and the option to redirect after insertion by appending a variable to the link eg. group_members / view / $rec_id, the variable “$rec_id” or any other variable is not recognized. Cattura