Thank you for your reply, but I think you misunderstood me or that I didn't explain it good enough. :)
What I would like to do is have say 10 predefined questions in the form. The users should not be able to add their own questions, just answer the existning ones.
What I did with the template.xml was to add all my questions. Then I made a few changes to the view1.xslt so that all the questions was displayed. This works just fine in preview mode, but in design mode I get some errors on the textboxes. The error is "The control cannot store data correctly", but it works just fine in preview mode. Data is stored just the way I want.
Normally I would not care about the errors in design time, but since I aim to publish it to a forms server I need to get rid of the errors.
If it helps I could put the form on a web site where you can look at it and see the schema, template.xml and view1.xslt changes.
// Johan