Hi again,
I tried your solution and it's working fine, when I test the form in InfoPath.
After publishing the form to SharePoint I get this error:
Destinationsprogrammet blev ikke fundet (program-id: InfoPathGUPBN).
Der blev føjet en post til Windows-hændelsesloggen på serveren.
Log-id:5566
Korrelations-id:ed45cf9e-11d9-f0ae-248a-d98b881bdd3e
The error says something about the destination program was not found.
What can be the problem?
Best regards
Morten