<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/19460.aspx</link><pubDate>Tue, 01 May 2007 16:30:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19460</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19460.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19460</wfw:commentRss><description>&lt;p&gt;This is much more difficult. There is no concept of named anchor points as in HTML.&lt;/p&gt;&lt;p&gt;In InfoPath, hyperlinks only do one thing... link to a URL or URN. They don&amp;#39;t get any fancier than that. However, you can format a button to look like a hyperlink by removing the border and background color and making the text underlined, etc. Then in the click hander you can attempt to set focus on a particular control in the section you want scroll into view. This might not even be possible depending on your design.&lt;/p&gt;&lt;p&gt;I know some people have experimented with attempting to create named achors in the views manually by editing the XSL. I don&amp;#39;t know if, or how well those worked out.&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/19438.aspx</link><pubDate>Tue, 01 May 2007 05:09:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19438</guid><dc:creator>mvpeterson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19438</wfw:commentRss><description>&lt;p&gt;Greg,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Once again thank you for your assistance on this issue. I have now resolved this somewhat; I have been able to automatically generate a table of contents, with each TOC entry automatically referencing a repeated section&amp;#39;s heading.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;However, now I want to be able to use the TOC&amp;#39;s entries as hyperlinks so that when it is clicked, it goes straight to the appropriate section below, which is on the same form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) Is this possible, and;&lt;/p&gt;&lt;p&gt;2) How do I go about doing this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/4156.aspx</link><pubDate>Wed, 07 Mar 2007 18:35:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4156</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4156</wfw:commentRss><description>More questions to help me understand...&lt;br /&gt;&lt;br /&gt;What exactly is stored in TOC/toc_repeating_table/field1 ?? The reason I ask, is I'm wondering if your TOC can/should just be another repeating table in the view, bound to the same cube node. The TOC *SHOULD* be based off your existing structure, not off a secondary structure.&lt;br /&gt;&lt;br /&gt;So you have a repeating group bound to cube that allows you to enter all your data, and another repeating table bound to cube that has a hyperlink control with its 2 values being supplied by field under cube.&lt;br /&gt;&lt;br /&gt;I don't understand the requirement to keep TOC separate... seems like the data is already available under cube. ((IF)) this were me doing it, unless required otherwise, the TOC would be strictly virtual, based on values in the cube repeating group.</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/4155.aspx</link><pubDate>Tue, 06 Mar 2007 22:38:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4155</guid><dc:creator>mvpeterson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4155</wfw:commentRss><description>&lt;p&gt;Greg,

First I would like to thank you for devoting some of your time to my problem.

Going from what you mentioned above, I think I understand what you mean, however I think I may have already done what you have suggested. My TOC section is a section that contains a repeating table where I have replaced the default text box control with a hyperlink. My main form section is also a repeating section with further sections contained within. Both the TOC and the main form sections are both contained within a larger section. 

I have attached some screenshots below;

&lt;/p&gt;*** LINKS HAVE BEEN REMOVED FOR SECURITY REASONS ***&lt;br /&gt;&lt;p&gt;As you can see from the form, in preview mode I have added an extra entry in the TOC &amp;amp; the main form, I have named the cubes on the main form as Cube1 &amp;amp; Cube2, however the TOC only picks up on &amp;#39;Cube1&amp;#39; even though I have manually added an extra TOC entry.

If I can get this working even though it&amp;#39;s a manual process of assigning TOC hyperlinks to form headings, it would serve my cause well.

Cheers,

Mark.&lt;/p&gt;</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/4154.aspx</link><pubDate>Tue, 06 Mar 2007 19:43:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4154</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4154</wfw:commentRss><description>Okay, from what you've said, it sounds like you actually have TWO repeating sections... one that contains the hyperlink and a TOC section that contains the display/value pairs. This is where your problem is coming from.&lt;br /&gt;&lt;br /&gt;Is it possible to have all this in the same repeating group in your schema? If so, then it should be a simple matter of having each row's hyperlink pick up that same row's display/value pairs.&lt;br /&gt;&lt;br /&gt;If not, then you need some kind of a link between the two tables (an ID or something) so that you can maybe use a filter (which I haven't verified that you can even use a filter in your hyperlinks). Even so, you still have the problem of inserting a new TOC row for every hyperlink row you insert. This will require code.&lt;br /&gt;&lt;br /&gt;The best way is to have them all in the same repating group in your schema--it makes things much more simple in designing your views.</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/4153.aspx</link><pubDate>Tue, 06 Mar 2007 00:24:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4153</guid><dc:creator>mvpeterson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4153</wfw:commentRss><description>Q. You are using the hyperlink control in a repeating section/table?&lt;br /&gt;&lt;br /&gt;Yes, precisely. As you mentioned, I have binded the datasource &amp; display text of the hyperlink to point to a field of section where it returns the text from that field.&lt;br /&gt;&lt;br /&gt;So this works fine if I have 1 entry. However, when I goto add a new entry in the form (as part of a repeating section), I am able to enter the name of the new section, however;&lt;br /&gt;&lt;br /&gt;a) the hyperlink I have in the TOC still remains as one entry, and;&lt;br /&gt;b) the hyperlink will only pickup the name from the first entry.&lt;br /&gt;&lt;br /&gt;So following this I thought hmm, obviously a new TOC entry will have to be made, so I added a new TOC entry which automatically contains the new hyperlink, however both hyperlinks still point to the first/original field name in the section below.&lt;br /&gt;&lt;br /&gt;So currently, what this means is I may have many repeated sections each with thier individual indentifer field names that begin each repeated section, however only the first field name is returned to the hyperlink, or hyperlinks. I'm trying to understand how to make each hyperlink reference each new section created. &lt;br /&gt;&lt;br /&gt;I am aware that java script may be written as part of an action event to facilitate the creation of a new TOC entry whenver a new repeating section is created, but;&lt;br /&gt;&lt;br /&gt;a) I have limited JS programming skills&lt;br /&gt;b) It would still pose the same problem as only referencing the first repeated section field name and not each new one created.&lt;br /&gt;&lt;br /&gt;Hope i'm making sense.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mark.</description></item><item><title>Re: Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/4152.aspx</link><pubDate>Mon, 05 Mar 2007 23:58:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4152</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4152</wfw:commentRss><description>You are using the hyperlink control in a repeating section/table? The hyperlink control allows you to bind the href and display text to different fields so that you should be able to accomplish this... if you are already doing this, verify the fields you are binding these attributes to actually have values in them.</description></item><item><title>Creating a TOC or Index</title><link>https://www.infopathdev.com:443/forums/thread/1888.aspx</link><pubDate>Mon, 05 Mar 2007 22:49:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1888</guid><dc:creator>mvpeterson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1888</wfw:commentRss><description>As the title suggests, what is the easiest way I can go about creating an index or table of contents at the beginning?&lt;br /&gt;&lt;br /&gt;I tried using hyperlinks, it works but if I add a new record;&lt;br /&gt;&lt;br /&gt;a) I cannot get the hyperlink to add an extra link for the new record&lt;br /&gt;b) When I add an extra hyperlink manually, it will only refer to the first record.&lt;br /&gt;&lt;br /&gt;Does this make sense? &lt;br /&gt;&lt;br /&gt;Cheers.</description></item></channel></rss>