Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2008

Tip: Looking for answers? Try searching our database.

Validation upon submit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Monomeeth - 18 Mar 2008 23:59 GMT
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.
Deb... - 19 Mar 2008 00:19 GMT
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.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.