I do my forms two ways in Xara.
1. I embed a product called Machform. It costs about $30-$40 and you have to be able to install a php/mysql app on your server. After that, it's real easy to create forms drag and drop (with file upload) and then just embed the code into a Xara placeholder.
2. I create form elements as placeholders in my xara document. Then I create a wrapper by hand that has all the email processing code in it. So, it looks something like this...
webform.htm (generated from Xara)
index.php (coded by me in this fashion)
html
body
{email processing code}
... include "webform.htm"
/body
/html
Bookmarks