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 1 of 2 (11 items) 1 2 Next > Fundamental Structure Questions & Footer Issues We have created a form that prints a footer with text and I have used a background image aligned bottom left to fake a footer image. (I exported the files and customized the CSS in the print.xsl to align bottom, because it is not an option in InfoPath Designer) So far, so good. However, I really want to be able to overlay the ... Posted to General (Forum) by danlovejoy on 01-18-2013 Re: Line break This is a fascinating technique. Now, If I want to count the number of line breaks in a field, would I use XPath to match 
? Posted to General (Forum) by danlovejoy on 01-15-2013 Re: Skip steps in autonumbered rows - XPath question Jimmy! You fixed it! The problem was the checkbox datatype. It wasn't a boolean. I switched it to a boolean and now it's FIXED! Hallelujah. Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question All right, one difference in the example form and in my form is the XPath location of Op-seq. (I used "Copy XPath" for both) My Form Field Op-seq XPath /my:myFields/my:Steps/my:Step/my:Op-seq Example Field Op-seq Xpath: /my:myFields/my:Step/my:Op-seq Should this affect the XPath rule? I don't know enough about the syntax to ... Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question OK - it works perfectly in your example form. EXCELLENT. THANK YOU!! Unfortunately, it's still broken in the actual form. I'm afraid I shouldn't post the actual form here, so I will try to puzzle out the difference, like a monkey with a phaser. -d Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question Going to the trouble? Are you kidding me? You are helping me out BIG TIME here. I'm going to send you a present. Here's the code I have attached to the Op-seq field: substring(count(../preceding-sibling::my:Step[my:HeaderRow != "true"]/my:Op-seq) + 1, 1, 5 * (../my:HeaderRow != "true")) I'll take a look at ... Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question Thank you so much. I do not have them repeating in the actual form, but in the test form I sent you. I'm linking to a video that shows the behavior of the formula you specified. There are a couple of variances: 1.) It does not renumber correclty after the blank space. (e.g. 1, 2, 3, (BLANK), 4, 5 (BLANK), 6) 2.) It still renumbers blank ... Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question I'm not sure I can post the actual form, so I have made a copy of the section in question and applied the formula. It works in this form exactly as it works in my form. In other words, it inserts a "1" into every field regardless, and it allows for the blank spaces to be overwritten when you add a row above. I am so grateful for your ... Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question Thanks! I have changed it to lower-case "true," but I'm still seeing the incorrect behavior. It's not numbering. (every row is "1") and it's still overwriting when I re-order the steps. Posted to General (Forum) by danlovejoy on 12-18-2012 Re: Skip steps in autonumbered rows - XPath question Thank you, Jimmy! The value for TRUE is set by an InfoPath checkbox. I set its values to TRUE for checked and FALSE for not checked. Of course, I can set these for any value. Unfortunately, the formula above populates all the fields with "1" and when I add a step above, repopulates all the blanks with 1, whether the HeaderRow is ... Posted to General (Forum) by danlovejoy on 12-17-2012 Page 1 of 2 (11 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.