Validation upon submit

M

Monomeeth

Any help would be greatly appreciated. Note: I'm using Infopath 2003.

I have developed a form which users need to complete and submit when seeking
approval to attend training courses. Upon submission, the form goes to the
user's manager who then has another section to complete to either allow or
disallow the request. This section only appear after the original submission.

Normally with Infopath forms, when a user has not completed a mandatory
field and tries submitting the form, Infopath presents the user with a dialog
box message along the lines of:

"The form cannot be submitted because it contains validation errors. Errors
are marked with either a red asterisk (required fields) or a red, dashed
border (invalid values)."

However, with this form I get a dialog box with the following message:

"Some rules were not applied."

This box also provides a "Show Details" button for users to click on to then
be presented with a text box containing the usual message. This message box
and text box are not very user-friendly and I know will cause confusion for
many users.

Obviously this is happening because the submit button is set to use Rules
and Custom Code as the action.

How do I get the form to behave the same way it would if the submit button
was set to use "Submit" as the action. I need to use rules because I have
designed the form to change the value of a field upon submission.

Any help would be greatly appreciated.

Thanks.
 
D

Deb...

It sounds like you need to go back over all of your conditions and
rules and ensure they are set correctly.

I am working with InfoPath 2007 and found that the web-enabled forms I
created need to have the user press 'save' - and I am also looking at
placing a submit button.

Reading around, I find that the submit button will not close the form
(as the save would) without a string being entered in.

Do this - make your form web-enabled only (you have to either
republish it with this setting or go into your forms library (that is
running InfoPath Services), and then test it by filling out the form
and clicking the 'save button'.

If everything works - then its definately your submit button, if not
then it was some other condition/rule that might of not been set
correctly.

deb.
 

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