<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/121068.aspx</link><pubDate>Tue, 04 Jun 2019 12:05:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121068</guid><dc:creator>jvazquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=121068</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That worked like a charm Hilary.&amp;nbsp; Once again, thank you for your quick responses and great explanations.&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/121063.aspx</link><pubDate>Mon, 03 Jun 2019 19:56:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121063</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=121063</wfw:commentRss><description>Ok! So the issue is the rule on submit that is setting the NotesCombined field. I think you should put that on UserNote instead - after the rules that set user / date. And you&amp;#39;ll want it to also set NotesCombined to blank if the UserNote field is blank, just like your other rules. When the rule setting a repeating element (like NotesCombined) is outside of the group, as you have seen, it sets all instances! So in this case, they are all set to the values from the first row in the table. Not what you wanted at all. But if the control / element that sets the repeating element is inside the same repeating group (like UserNote is) it only sets the &amp;quot;current&amp;quot; instance. So, if you have 5 rows, the &amp;quot;edit&amp;quot; button only works on the row it is associated with, for example. The UserNote field only sets the fields in the same row as it is.... does that make sense?</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/121061.aspx</link><pubDate>Mon, 03 Jun 2019 19:03:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121061</guid><dc:creator>jvazquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=121061</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Hilary - please see attached.  &lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/121057.aspx</link><pubDate>Mon, 03 Jun 2019 18:39:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121057</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=121057</wfw:commentRss><description>My guess is that the field with the rule is outside of the repeating table, so it is overwriting all the instances of the field. Can I see a copy of your form?</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/121054.aspx</link><pubDate>Mon, 03 Jun 2019 17:51:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121054</guid><dc:creator>jvazquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=121054</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary, follow up question on this topic.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I have a repeating table which captures the user name, note type, date, (dash), and the user note.&lt;/p&gt;&lt;p&gt;I created another field within the repeating table section and added a&amp;nbsp;formula to it&amp;nbsp;within the field properties to&amp;nbsp;concatenate the note type, date and user note.&amp;nbsp; I promoted this field to display on SharePoint.&amp;nbsp; The problem I&amp;nbsp;ran&amp;nbsp;into is that&amp;nbsp;if the user did not enter a note, a dash was still being published to the library so I&amp;nbsp;removed the formula from that field and instead created a rule to set the field with the concatenated values (when the user note is not blank).&amp;nbsp; &lt;/p&gt;&lt;p&gt;It works okay when there is only one note added but when I add a second note and save the form, it shows the first note twice and not the second note.&amp;nbsp; In my property promotions I did configure the field to go over as a merge.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Not sure what I&amp;nbsp;am doing wrong&amp;nbsp;or if there is a better way to accomplish what I am trying to do?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Would like to add the end result I am hoping for is that all notes from&amp;nbsp;the repeating table appear on the sharepoint library.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/120971.aspx</link><pubDate>Fri, 10 May 2019 16:14:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120971</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120971</wfw:commentRss><description>Thank you - I learned so much from this forum when I was learning InfoPath that I&amp;#39;m always happy to hear that I&amp;#39;ve helped someone else. Have a great weekend!</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/120965.aspx</link><pubDate>Fri, 10 May 2019 12:38:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120965</guid><dc:creator>jvazquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120965.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120965</wfw:commentRss><description>&lt;p&gt;Hilary, this is just what I needed.&amp;nbsp; Thank you so much for taking the time to put that together for me.&amp;nbsp; Now my form is super legit :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;BTW, I am a huge fan of yours.&amp;nbsp; While I have been reading&amp;nbsp;your responses in this forum for many years, I finally signed up to be a member.&amp;nbsp; You have no idea how much you have helped me.&amp;nbsp; You are definitely&amp;nbsp;the InfoPath Queen!&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/120962.aspx</link><pubDate>Thu, 09 May 2019 20:55:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120962</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120962</wfw:commentRss><description>This will depend on where the control is that sets the editable flag from no to yes - is it in the repeating table? Is the editable flag also in the repeating table? See attached simple sample - save locally, right click and select design and then preview. It&amp;#39;s pretty basic, but should give the general idea :)</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/120961.aspx</link><pubDate>Thu, 09 May 2019 19:37:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120961</guid><dc:creator>jvazquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120961</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you for this information, it works like a charm.&amp;nbsp; I have a follow up question.&amp;nbsp; As rows are added to the repeating table and set to read-only, is there a way to flag&amp;nbsp;one row to make it editable?&amp;nbsp; I tried changing the editable flag from no to yes but it makes all of the rows editable.&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks in advance.&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/45812.aspx</link><pubDate>Thu, 13 Aug 2009 14:35:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45812</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=45812</wfw:commentRss><description>&lt;p&gt;For the draw back. you can have one more column in the repeating table that indicates whether the comment field is editable or not, when the user saves or submits the form, change the value of the field to no. and make the comment field readonly on that condition. that should solve your drawback.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/44870.aspx</link><pubDate>Thu, 23 Jul 2009 22:10:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44870</guid><dc:creator>WPiersol</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=44870</wfw:commentRss><description>&lt;p&gt;Here are two ways I&amp;nbsp;have handled this...&lt;/p&gt;
&lt;p&gt;In my repeating table I have the following columns:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;User - Records the user who entered the comment with the userName()&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Comment - Column for the user to leave a comment.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;Method #1 - If you only want the user to be able to edit their comments...&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;On the Comment field set a condition on &amp;quot;If&amp;nbsp;current user is NOT&amp;nbsp;equal to User field&amp;quot;.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If the result is true, make the Comment column &amp;quot;Read-Only&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Method #2 - If you don&amp;#39;t want ANY comment to be editable.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;On the Comment field set a condition on &amp;quot;If comment field is NOT BLANK &amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If the result is true, make the Comment column &amp;quot;Read-Only&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Method #2 has a small drawback.&amp;nbsp; The field is lock to read only as soon as the user presses &amp;quot;TAB&amp;quot; or clicks out of the textbox.&amp;nbsp; So if they do it by mistake, they have to add another row.&lt;/p&gt;
&lt;p&gt;But for my situation it works great.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;p&gt;William Piersol&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/44051.aspx</link><pubDate>Thu, 09 Jul 2009 16:43:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44051</guid><dc:creator>aksiraj003</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=44051</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;strong&gt;Hilary,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you soo much Hilary, I was just looking for the solution if it is possible through code or not. I think the same, has you said it is not possible through the code. Okay I will follow the method which you have suggested me early. Had a great discussion, I&amp;#39;m very much thankful to you. Good day...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanking You,&lt;/p&gt;&lt;p&gt;With Regards,&lt;/p&gt;&lt;p&gt;Raj... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/44048.aspx</link><pubDate>Thu, 09 Jul 2009 16:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44048</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=44048</wfw:commentRss><description>&lt;p&gt;Why do you have to do it in code? I don&amp;#39;t understand that requirement at all. I don&amp;#39;t believe InfoPath gives us any programatic access to the controls on the form itself, only the fields bound to the form, so a coded solution may not be possible in this case.&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Repeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/44021.aspx</link><pubDate>Thu, 09 Jul 2009 07:15:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44021</guid><dc:creator>aksiraj003</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=44021</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;strong&gt;Hilary,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; Thank you Hilary, this helped me to get to my solution. And I could able to achieve the solution. The work around is all about making it possible through the UI from the infopath, Right! (Like, Going to the properties of the control and clicking Display tab and and then selecting Conditional Formatting button and clicking add and setting the condition. Right!). I have achieved to my soultion by doing soo.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now I have to achieve to the above solution through code ( pro grammatically, using VSTA in the Form Load event)&amp;nbsp; Is this possible? Thank you in advance, please help me.&lt;/p&gt;&lt;p&gt;I have also seen your Blog its very impressive, I like to Thank you for sharing Knowledge...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanking You,&lt;/p&gt;&lt;p&gt;With regards,&lt;/p&gt;&lt;p&gt;Raj... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read only Rows for a Reeating Table in Infopath...</title><link>https://www.infopathdev.com:443/forums/thread/43987.aspx</link><pubDate>Wed, 08 Jul 2009 22:04:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43987</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=43987</wfw:commentRss><description>&lt;p&gt;Hi, Raj!&lt;/p&gt;
&lt;p&gt;That information helps a lot. &lt;/p&gt;
&lt;p&gt;You can do this with conditional formatting, I think. You need to know who is opening the form -- I&amp;#39;m guessing you are handling that since you are setting the admin field at run time. I think what I would probably do is add another field, it can be in a secondary data source, and populate that with the name of the current user when the form loads. Then, on each control in the repeating section, you can set conditional formatting that is along the logic of &amp;#39;If the current user&amp;#39;s username (from the field populated on load) is not equal to the user listed in the field bound to the first text box in the repeating table, make this control read only&amp;#39;. Now, you&amp;#39;ll probably need multiple conditions -- if the user is the admin, for example, you only want those first fields to be read only, so you&amp;#39;d need to add another condition for that.&lt;/p&gt;
&lt;p&gt;As far as making hyperlinks read only -- your best bet would be to hide the hyperlinks that don&amp;#39;t belong to the user. You can do that by putting the hyperlink control inside of a section and putting conditional formatting on the section. After all, there is no point in showing a hyperlink to a user that you don&amp;#39;t want them to click.&lt;/p&gt;</description></item></channel></rss>