I'm not sure I understand your question.
Are you referring here to a THTMLComboBox? And what specific is the relation to a THTMLForm?
This is not trivial. There are currently no hooks for this to set it dynamically. The only option for now we see is to dynamically precalculate before you fill the HTML in the cell. We'll reflect on more easy ways to do this.
Thank you for your response