Answered
01 Nov 2017
Link to this post
For this you may use static value widget if the logged user value remains constant, or if you are using lookup widget then you can use JavaScript API to get the value of contact id. For example if you are using MVC form you can use JavaScript API as tpc.identity to get the value of contact id and then set this value in the lookup field.
Refer to the JavaScript API documentation:
https://www.crmportalconnector.com/developer-network/documentation/portal-connector-widgets/tpc-client-side-api/mvc-based