"InfoPath cannot submit the form."

M

MoonBlosm

I have created an infopath form that has some fields connected to a database
(only two on the form will update the database).

I get the following error when someone is trying to update a form (I have
bogus fields on my form that are not submitted to the database).

"InfoPath cannot submit the form. The form does not
contain any new data to submit to the data source."

If a user changes one of these bogus fields, and tries to submit they get
the error above. How to I override that error? I want to submit regardless
of any changes. However, I want it to over write the previous stored form on
my Sharepoint site.

Thank you for any help in advance.
 
S

S.Y.M. Wong-A-Ton

Did you change data in the fields that are submitted to the database? The
error is referring to those fields, not the bogus fields. Try changing the
fields that are submitted to the database to avoid this error or if you don't
want to change them, try faking a change by first copying contents to another
field, emptying the field, and then copying the contents back to the field.
The latter is a workaround I haven't tested, so you'd have to see whether it
works for you.
 
M

MoonBlosm

Well I understand that will fix the problem, but I will have 20 users using
this form and if they want to change something, I don't really want them
putting bogus information in fields. There is no way to turn off that
feature? That if something in the "database" fields does not change, it will
not submit the form?

That is a bummer.

Thanks for your input.
 
S

S.Y.M. Wong-A-Ton

Not that I know of.

You wouldn't really be putting bogus info in the fields. What you would be
doing is triggering a "change" event using rules, and re-use data that was
already entered in a field (if there is any data in the field). By first
emptying a field and then filling it again, you'd trigger a "change" event.
 
M

MoonBlosm

Could you do that anyway with a script? Say, copy something in a field,
delete it, then copy it back to trigger that "change" event?
 

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