On Save Clear Field - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » On Save Clear Field On Save Clear Field Last post 12-09-2010 03:19 PM by PhoenixICE. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-08-2010 08:54 PM PhoenixICE Joined on 11-25-2010 Posts 10 On Save Clear Field Reply Contact Does Infopath support a On Save event (well i should say just before save event) and it clears a specific field? Or is there another way of temporarily holding a value in a field while the form is open and clearing it when its about to save (so that it saves with a blank field)? 12-08-2010 10:47 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: On Save Clear Field Mark as Not AnswerMark as Answer... Reply Contact If your field were in a secondary data source (like an XML file), you wouldn't need to clear it, since secondary data isn't saved with the form. You'd have to know what to set it to when the XML was re-opened or the form was first opened, of course... Hilary Stoupa 12-09-2010 06:25 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,112 Re: On Save Clear Field Mark as Not AnswerMark as Answer... Reply Contact Of course, Hilary's right. InfoPath *does* support OnSave command but doing any kind of event handling means you gotta write code. For a simple approach, consider qRules which supports OnSave without the need for code. Patrick HalsteadProject Manager at Qdabra 12-09-2010 03:19 PM In reply to PhoenixICE Joined on 11-25-2010 Posts 10 Re: On Save Clear Field Mark as Not AnswerMark as Answer... Reply Contact Could you elaborate on qRules with OnSave? (wasn't able to google it) - and the data isn't external its internal, but designed to be only temporary for that specific form session only. Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Does Infopath support a On Save event (well i should say just before save event) and it clears a specific field?
Or is there another way of temporarily holding a value in a field while the form is open and clearing it when its about to save (so that it saves with a blank field)?
If your field were in a secondary data source (like an XML file), you wouldn't need to clear it, since secondary data isn't saved with the form. You'd have to know what to set it to when the XML was re-opened or the form was first opened, of course...
Of course, Hilary's right.
InfoPath *does* support OnSave command but doing any kind of event handling means you gotta write code.
For a simple approach, consider qRules which supports OnSave without the need for code.
Could you elaborate on qRules with OnSave? (wasn't able to google it) - and the data isn't external its internal, but designed to be only temporary for that specific form session only.