1) Expression Manager variables only apply to LimeSurvey elements. I'm not sure why you added that input - it will not be recorded in the data.
2) I'm not exactly sure what you are trying to do but I think you will need to insert a hidden question and load it with JavaScript.
2) I'm not exactly sure what you are trying to do but I think you will need to insert a hidden question and load it with JavaScript.