Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
From my updated post above, am now using a JS instead of #value to fill in the value in my hidden field. Again it is found in the _alter hook, but the above mentioned methods did not work for me. Unless am doing it all wrong here. I am using webform's default submit actions here, which send the data to the webform_submitted_data table.