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 / September 2007

Tip: Looking for answers? Try searching our database.

determine new form submission or subsiquent edit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gurufoo@hotmail.com - 19 Sep 2007 17:31 GMT
MOSS 2007, Infopath 2007, browser enabled forms. No Exchange server,
so hands are tied in some regard. My preference for solutions would be
no-code involved, but I not a code-hater, I just don't know C# or VB
and I'm trying to get this seemingly simple pilot-project off the
ground.

I've got a form library and an Infopath form that submits to that form
library.  No problem.

I'm looking to user-proof this form library so my users can't
inadvertenly create duplicate entries when they really intend to edit
an existing entry.  What makes sense to me is to *somehow* determine
if the form the user just loaded in their browser is creating a new
entry, or editing an existing entry.  I thought I'd be able to bring
in the "Name" or "ID" field, but I can't get that to work.  I've
created a Data Connection pointing to the Form Library where the
Infopath Form is submitting to, but it fails to get the data I'm
looking for.

I need to use "Submit" because there is a bunch of validation to be
done. I've disabled the Save As... and similar features in "Tools ->
Form Options -> Browser"

Any help will be greatly appreciated. Greatly.

-James
gurufoo@hotmail.com - 19 Sep 2007 19:03 GMT
Ok, I've found 1/3 of my answer:

In the "Submit Options" of my Submit button, I chose "Perform custom
action using Rules" and added a rule that set a checkbox (to be hidden
later) that essentially says "disable_submit=true".  When the an
existing entry is opened up, the submit button is disabled..yay! 8^)
The only toolbars I have on the web form are "Save" and "Close".  This
is nearly what I want, but now a user chooses to Save and I lose my
validation that happens upon a true "submit"...  I suppose I could
trust my users to not touch anything they're not supposed to
edit....HA HA HA HO HO HEE HEE HEE LOL!!!!!....*wipes tears* sorry,
that was just a funny thought..."trust users...".

*ahem* seriously though, is there a way to get the validation features
of submitting, w/o the risk of creating multiple entries in the Form
Library?

-James

On Sep 19, 9:31 am, guru...@hotmail.com wrote:
> MOSS 2007, Infopath 2007, browser enabled forms. No Exchange server,
> so hands are tied in some regard. My preference for solutions would be
[quoted text clipped - 22 lines]
>
> -James
 
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.