Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 4 of 6 (54 items) « First ... < Previous 2 3 4 5 6 Next > Re: Disable Save fetaure based on the changing of a drop down value. I'm not sure what that field is though (the helper field). I'm just copying and pasting code that was provider earlier in this post. Do i need to add a control of some sort? Posted to Code (Forum) by e_stylzz on 07-25-2008 Re: Disable Save fetaure based on the changing of a drop down value. Are you refering this this line?: root.SelectSingleNode("XPATH to ReferenceVariable", NamespaceManager).SetValue("true"); My entire coding is such:public void ddlEngagementType_Changed(object sender, XmlEventArgs e) { string oldValue = e.OldValue;//collect the Old Value form Status drop down string ... Posted to Code (Forum) by e_stylzz on 07-25-2008 Re: Disable Save fetaure based on the changing of a drop down value. I can't give up that easily. So I got Infopath 2007 and switched it to C# and I have inserted the code you supplied inserting the xpath to the dropdownlist. One part i'm unsure of in your code is the xpath to the referencevariable. what does that mean and what is it? Ex: string isTrue = ... Posted to Code (Forum) by e_stylzz on 07-25-2008 Re: Disable Save fetaure based on the changing of a drop down value. Thanks for all your help but we can close this. Since the users are opening the document from sharepoint and making the changes, even if we disable save, it's still going to prompt to save after they submit because the file has changes. I just don't see anyway to get that to work. Posted to Code (Forum) by e_stylzz on 07-24-2008 Re: Disable Save fetaure based on the changing of a drop down value. Srikrushna I'm starting to get the feeling this is specific to Infopath 2007. Since I see C# listed in Infopath 2007 and it looks like the XmlEventArgs are part of the Microsoft.Office.Infopath namespace which MSDN says is in 2007. I dont know what any of that means but I have a bad feeling in my stomach. Can this be ... Posted to Code (Forum) by e_stylzz on 07-24-2008 Re: Disable Save fetaure based on the changing of a drop down value. C#? I only have JS and VBScript listed. What do i do? Posted to Code (Forum) by e_stylzz on 07-24-2008 Re: Disable Save fetaure based on the changing of a drop down value. Sorry, I freaked out beore looking around. Found my problem here: http://support.microsoft.com/default.aspx?kbid=828853 Thanks guys. I'll test the code and let you know. Posted to Code (Forum) by e_stylzz on 07-24-2008 Re: Disable Save fetaure based on the changing of a drop down value. It's greyed out. I dont have any code that I know of already write. I have some data validation and rules, but i havent written no code like this. Any I going to have to do this thing over? You have been a tremendous help and I know we are almost there. Thanks, Posted to Code (Forum) by e_stylzz on 07-24-2008 Dropdown List Change Events Hi: I have a dropdown list on my page that if changed from the default value to the other value will trigger the following events: Disable the Save prompt after opening and making changes to a form. (Reason: We have New proposals and extensions of those proposals. You can save to fix mistakes but if you are extending a proposal ... Posted to Controls (Forum) by e_stylzz on 07-24-2008 Re: Disable Save fetaure based on the changing of a drop down value. Cool, that looks like it should work, however I'm getting the following error: Expected ';' File:script.js Line:95 public void ddlEngagementType_Changed(object sender, XmlEventArgs e) Does this code need to be nested anywhere? I currently have it sitting at the bottom of my page. Thanks, Eric Posted to Code (Forum) by e_stylzz on 07-23-2008 Page 4 of 6 (54 items) « First ... < Previous 2 3 4 5 6 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.