<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/109015.aspx</link><pubDate>Tue, 03 Jan 2017 00:22:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109015</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=109015</wfw:commentRss><description>&lt;p&gt;So this is something you are trying to do in your SharePoint list as a calculated column? InfoPath doesn&amp;#39;t have IF or ISBLANK.  I&amp;#39;m attaching a simple sample that has two tables bound to the same data source. Save the file locally, preview and in the top instance of the table, enter some data. Leave the data column blank in some rows &amp;amp; enter a date in others. You&amp;#39;ll see that I&amp;#39;ve used conditionally formatted calculated values in the second instance of the table to display either the entered date or some text. Hopefully this will help.
&lt;/p&gt;&lt;p&gt;EDITED TO ADD: Save the linked file locally, right click and select Design to open in design mode. From there you can preview, look at the design, etc.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/109014.aspx</link><pubDate>Tue, 03 Jan 2017 00:13:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109014</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=109014</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Understood. I&amp;#39;ve tried several version of a formula in the field I want to show the date of inspection or No Report Submitted. Last version was, no luck.&lt;/p&gt;&lt;p&gt;=IF(ISBLANK([Date Previous Inspection]),&amp;quot; &amp;quot;,No Report Submitted&amp;quot;))&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/109013.aspx</link><pubDate>Mon, 02 Jan 2017 23:28:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109013</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=109013</wfw:commentRss><description>My instructions are intentionally vague, as I obviously have no details as to the actual structure of your form. Which of your two secondary data connections has the data where you want to reset the field to display &amp;quot;No Report Submitted&amp;quot;? It would probably be way easier to just put a calculated value in the area where you want to see this text and use conditional formatting to determine which you want to show. Attach the template to a reply under options if you need a hand with that.</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/109012.aspx</link><pubDate>Mon, 02 Jan 2017 23:22:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109012</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109012.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=109012</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can&amp;#39;t get this to work.&lt;/p&gt;&lt;p&gt;There are two data connections; Master Bldg List and Master System Inspection List&lt;/p&gt;&lt;p&gt;The form, including the repeating table connected to the Master System Inspection List,&amp;nbsp;auto-populates&amp;nbsp;once the Building No. is entered.&lt;/p&gt;&lt;p&gt;Your original suggestion was to &lt;span style="line-height:107%;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;,
&amp;quot;repurpose&amp;quot; another field in the secondary data connection - I&amp;#39;m assuming that means the Master System Inspection List connection.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;On the&amp;nbsp;Building No. field Rule 1 queries&amp;nbsp;the Master Bldg&amp;nbsp;List data connection for the Building No.; Rule 2 queries the Master Bldg Connection List for the rest of the form data.&lt;/p&gt;&lt;p&gt;There is a repeating table that includes several fields from the Master System Inspection List. There is a rule on this table that fires the Master System Inspection Data Connection once a valid&amp;nbsp;Building No. is present.&lt;/p&gt;&lt;p&gt;The&amp;nbsp;Master System Inspection Building&amp;nbsp;No. must match the&amp;nbsp;Master Bldg List Building No. for data to appear in the repeating table.&lt;/p&gt;&lt;p&gt;Your instruction was to &lt;strong&gt;&amp;quot;...&lt;span style="line-height:107%;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;
put a rule on the ID field to set the date field based on a condition...&amp;quot;&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve attempted to make a&amp;nbsp;Rule on the &amp;#39;ID&amp;#39; field of the repeating table Master System Inspection Connection&amp;nbsp;with a condition that would make the &amp;#39;Date of Last Inspection&amp;#39; field &amp;quot;No Reported Submitted&amp;quot;, based on the&amp;nbsp; Master Bldg&amp;nbsp;List data connection &lt;/p&gt;&lt;p&gt;&lt;span style="line-height:107%;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Your instruction continued with &lt;strong&gt;&amp;quot;...on
the building number, set ID (after querying the data source) to something it
will never normally be, like 0.&amp;quot;&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In Rule 4 of the&amp;nbsp;Master Bldg List data connection I&amp;#39;ve set the value of the &amp;#39;ID&amp;#39; field to&amp;nbsp;&amp;quot;0&amp;quot;.&lt;/p&gt;&lt;p&gt;The Date of Last Inspection field&amp;nbsp;in the repeating table still appears blank where no data has been entered into the&amp;nbsp;Master&amp;nbsp;System Inspection List&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/109011.aspx</link><pubDate>Mon, 02 Jan 2017 20:56:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109011</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=109011</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;One follow-up; one of the fields impacted is a &amp;#39;Date Next Due&amp;#39;, that is set as a&amp;nbsp;calculated&amp;nbsp;value, date type, date only,&amp;nbsp;field. The text in this field&amp;nbsp;appears in my InfoPath form field as &lt;strong&gt;2018-03-10 00:00:00&lt;/strong&gt;. I cannot figure out how to get the text to show at date only,&amp;nbsp;formatted as x/xx/xxxx.&lt;/p&gt;</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108988.aspx</link><pubDate>Thu, 29 Dec 2016 13:17:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108988</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108988</wfw:commentRss><description>Rules fire when a value changes. However, when you query a data source, on the initial query, rules on those fields DON&amp;#39;T fire. Put the rule on wherever the user enters the building number (you call it the &amp;quot;building number entry process&amp;quot; above). I&amp;#39;m assuming that is when you query the secondary data source?</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108984.aspx</link><pubDate>Tue, 27 Dec 2016 17:47:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108984</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108984</wfw:commentRss><description>Can you clarify where the following should be accomplished...&amp;quot;So put a rule on the ID field to set the date (or whatever) field based on a condition....&amp;quot;? Should the rule be attached to the ID field in the data connection, and should that be an action that set field value of the Date of Last Inspection -if blank- to whatever text I want instead a blank field?</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108983.aspx</link><pubDate>Tue, 27 Dec 2016 13:22:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108983</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108983</wfw:commentRss><description>The problem with the secondary data is when you query it, each row needs to be evaluated. The rule on the building number field would only work to set every single row to the same value - not what you want. Instead, &amp;quot;repurpose&amp;quot; another field in the secondary data connection. You are probably not using the ID field, right? So put a rule on the ID field to set the date (or whatever) field based on a condition.... then, on the building number, set ID (after querying the data source) to something it will never normally be, like 0. OR, just use calculated values and conditions to display either the value or the text.</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108982.aspx</link><pubDate>Tue, 27 Dec 2016 03:42:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108982</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108982</wfw:commentRss><description>I&amp;#39;m an InfoPath simpleton. Yes, I&amp;#39;ll need you to provide more detail, please. Let&amp;#39;s assume I&amp;#39;m a five year old; now, tell me how and where, again.</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108981.aspx</link><pubDate>Tue, 27 Dec 2016 02:03:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108981</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108981</wfw:commentRss><description>&lt;p&gt;Hi Curtis,&lt;/p&gt;&lt;p&gt;To get this technique to work in a repeating table requires an xpath that remembers the current() row that you are on (assuming you want to have a condition for the previous column).&lt;/p&gt;&lt;p&gt;Let&amp;#39;s say you have three columns and you want to condition the value for column two on column one. You would use the same kind of rule for the repeating field, but just prefix the field1 (column one) with current()/my:field1. &lt;/p&gt;&lt;p&gt;Please let me know if that is enough to figure it out. If not, I can provide more details.&lt;/p&gt;&lt;p&gt;Cheers!&lt;/p&gt;&lt;p&gt;Patrick&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108980.aspx</link><pubDate>Mon, 26 Dec 2016 19:12:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108980</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108980</wfw:commentRss><description>Worked like a charm. Now, can I do the same for a similar field in a repeating table? The table data is coming from a secondary connection, activated by the same building number entry process as the previous post.</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108979.aspx</link><pubDate>Mon, 26 Dec 2016 01:35:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108979</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108979.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108979</wfw:commentRss><description>Sure. In the same rules you are using when the building number is entered, have the last rule check to see if the Date of Previous Inspection field is blank, and if it is, set the field&amp;#39;s value. I wouldn&amp;#39;t set a date field to text, myself - but if your date isn&amp;#39;t actually a date, it should be fine. Or use another field.</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108977.aspx</link><pubDate>Sat, 24 Dec 2016 16:40:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108977</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108977</wfw:commentRss><description>This may sound like the same issue, but it&amp;#39;s not. Can an InfoPath Date field be self-aware? I have a form that has a field called Date of Previous Inspection. The data for that field comes from a SP list column of the same name. The field, as well as several others, auto-populates (and it does work right now), whenever the user enters the building number in the form. The problem is not every building has been previously inspected; or, if it was a report has yet to be submitted. What I&amp;#39;m hoping, if after the building number has been entered and the form auto-populates there is no data in the Date of Previous Inspection field, a rule can fire that validates the field is empty and fill the field with &amp;#39;No History of Previous Inspection&amp;#39;?</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108968.aspx</link><pubDate>Fri, 23 Dec 2016 17:28:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108968</guid><dc:creator>Curtis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108968</wfw:commentRss><description>Tada! Like magic. As always, you&amp;#39;re the best. 

Do you know anything about SP email workflows?</description></item><item><title>Re: Auto-populate Pre-determined Text if field is blank</title><link>https://www.infopathdev.com:443/forums/thread/108967.aspx</link><pubDate>Fri, 23 Dec 2016 17:03:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108967</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=108967</wfw:commentRss><description>You don&amp;#39;t want to Insert Function for the value, your text just goes in the value box. If you are in &amp;quot;insert function&amp;quot; you can put the text in quotes - that will make it a valid &amp;quot;formula&amp;quot;.</description></item></channel></rss>