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 2 of 3 (24 items) < Previous 1 2 3 Next > Re: Nifty ways to disable controls? Thanks Michael, Setting a condition 1=1 and than disabling or hiding the controls seems to do the trick. -Eric Posted to Newbie Questions (Forum) by Eric on 10-20-2006 Re: Remove all signatures from a form with javascript I got this code snippet to work but it actually removes the signature block completely from the code as opposed to just unsigning it. I will have to look further. function dooButton::OnClick(eventObj) { ____var oSignedDataBlocks = XDocument.SignedDataBlocks; ____var count = oSignedDataBlocks.Count; ____if( count <= 0 ... Posted to Newbie Questions (Forum) by Eric on 10-20-2006 Remove all signatures from a form with javascript Hello, I need to remove all signatures from a form when it moves from one view state to a ''rework'' view state. this is my code fragment so far (doesn't work!) based on other posts I found in the forums. function dooButton::OnClick(eventObj) { var oSignedDataBlocks = XDocument.SignedDataBlocks; var count = oSignedDataBlocks.Count; if( count ... Posted to Newbie Questions (Forum) by Eric on 10-20-2006 Re: Signature block shows on hidden sections The text to add another repeated row also shows if you hide a section that is a repeating table or repeating section. Perhaps a few edits to the XML - to show the text and icon only if the section is visible? -Eric Posted to Newbie Questions (Forum) by Eric on 10-18-2006 Re: Nifty ways to disable controls? I'm looking at onBeforeChange for radio buttons - but not sure what to put to make any changes to the option group undo themselves. Posted to Newbie Questions (Forum) by Eric on 10-18-2006 Nifty ways to disable controls? Hello, I have disabled all the textboxes in one view of my form. I wish to disable all the other controls in the form (except for one or two) (can this be done recursively by section?) I see some posts about duplicate controls and hiding and viewing - but this would make 50 controls with 50 duplicate controls and all the hiding and showing code ... Posted to Newbie Questions (Forum) by Eric on 10-18-2006 Signature block shows on hidden sections Hello, I have a signable section that I hide based on a condition. When the section is hidden the ''click here to sign this section'' text is still visible. Can I hide this as well? thanks -Eric Posted to Newbie Questions (Forum) by Eric on 10-18-2006 Re: Check the View State Thanks Matt, I took over this project in progress - so I'm not sure if it was custom or not. (judging by your response it sounds custom) Your solution works as promised, thanks -Eric Posted to Newbie Questions (Forum) by Eric on 10-17-2006 Hide controls via Javascript (not the IDE) Hello, Has anyone used Javascript to hide or show controls on a form? I'd like to have a little function that loops through a set of controls and sets the visibility based on some set of criteria I have. I'd prefer not to have to interact with the IDE and set rules on a view by view and control by control basis. Thanks, -Eric Posted to Newbie Questions (Forum) by Eric on 10-16-2006 Re: Check the View State I think I found something: var oViewState = XDocument.DOM.selectSingleNode(''//my:_Internals/my:Status'').nodeTypedValue; -Eric Posted to Newbie Questions (Forum) by Eric on 10-16-2006 Page 2 of 3 (24 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.