How to send hidden field value to db on webform submit
You also will need to write a hook_form_submit for your form. In the _form_submit() you will take the hidden value and store it where you like.

That is the simple answer for your question. If you provide more details there could be other ways of handling the data. What is your form action?