Why all schema fields are 'Can not be blank'?

T

timo.ratilainen

Hi

I'm using InfoPath 2007.

I have a schema (five .xsd files) and I'm trying to generate a form, which
will be used to generate a test data (.xml files) for our project.

I genarated a blank form from "File->Design a Form Template->XML or Schema"
and then gave the location of the schema. Now I have the schema as a
datasource.

The problem is that all the fields are displayed as 'Can not be blank'
fields. This is not true by the schema. For example, if I create sample data
by Altova XMLSpy it will give me only about 30 filled fields, but in the
InfoPath form, I have to fill all 110 fields before the saving can be done
without the message: "The form contains validations errors. Erros are marked
with either a red asterisk (required field) or a red, dashed border (invalid
values). Do You still want to save it?"

There are lots of fields in the schema that says "minOccurs=0", but still
InfoPath says it can not be blank.

Does anybody knows why InfoPath is acting like this?

Thanks,
Timo
 
T

timo.ratilainen

Hi

Thank You for the answer.
However, it is not going to help use, because we can not modify the schema
(it is fixed by European Commission now and forever :)

But, I think we can insert test data by some other tool... Excel + Altova...
or something.

Timo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top