Hi,
Is it possible to create a TDM Portal form where the variables shall be displayed horizontally instead of vertical list?
Unfortunately this is currently not possible. You could raise an enhancement request for this. Please refer the below link on how to do this.
How to Submit an Enhancement Request for Test Data Manager