Hi Paul,
thx,
works out by clicking on the button, by using a digital signature field on the form.
nevertheless I get an error if I put the script on the initialize-event
form1::initialize - (FormCalc, client)
xfa.host.importData("C:\\test.xml");
regards
Johannes