<?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: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121110.aspx</link><pubDate>Fri, 07 Jun 2019 18:36:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121110</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121110</wfw:commentRss><description>This link has a few screenshots that may be helpful: http://www.ntss.eu/infopath-2013-populating-a-data-field-based-on-another-field-i-e-external-connection-2/</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121109.aspx</link><pubDate>Fri, 07 Jun 2019 18:04:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121109</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121109</wfw:commentRss><description>I think I may have see what was wrong. It was my fault. I had the default value for the value field being just #Items and Unit Price. So what I did it made it so whenever #Items is changed, it sets Value to your foruma * #items, and that seemed to work out great. 

Thank you so much for all your help! Is there a good resource that I can look at so I can figure out the formula you wrote?</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121108.aspx</link><pubDate>Fri, 07 Jun 2019 17:59:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121108</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121108.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121108</wfw:commentRss><description>I wonder if part of the problem is that the Unit Price field is a choice type. Maybe change that to number?</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121107.aspx</link><pubDate>Fri, 07 Jun 2019 17:48:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121107</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121107</wfw:commentRss><description>Alright, so that gets the correct value, so thank you very much!

This may have opened up another can of worms though. Now when I publish it to Sharepoint, and try to add a new item, it throws the error show in the pic below. I added number(your formula) to the properties of the unit price box, but that didn&amp;#39;t help it. Any ideas there? 

After clicking Submit -&amp;gt; error Ok, Value becoming NAN. Value is just (Unit Price * #Items)</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121105.aspx</link><pubDate>Fri, 07 Jun 2019 17:37:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121105</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121105</wfw:commentRss><description>Scratch that, google fixed that one. Should have searched before I asked here! I am opening it and seeing it is working out. Thank you for all your help so far</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121104.aspx</link><pubDate>Fri, 07 Jun 2019 17:33:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121104</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121104.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121104</wfw:commentRss><description>Unfortunately I can&amp;#39;t open it. It seems like its looking for your path, since its trying to reach out to a server. (pic attached)</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121103.aspx</link><pubDate>Fri, 07 Jun 2019 17:26:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121103</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121103</wfw:commentRss><description>I changed the default value for your existing Unit Price field. See if this works as anticipated. Save locally, right click, select design to open in design mode.</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121102.aspx</link><pubDate>Fri, 07 Jun 2019 17:08:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121102</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121102</wfw:commentRss><description>Sure. In this form, the items I am looking at the Product drop down and Unit Price text field. Please feel free to create new fields, as this more than likely will not be the final form design</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121101.aspx</link><pubDate>Fri, 07 Jun 2019 17:05:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121101</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121101</wfw:commentRss><description>Here&amp;#39;s a sample. Set Value Sample view has a dropdown with a rule on it you can take a look at. Save the form locally, right click and select Design to open in design mode, then you can preview.</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121099.aspx</link><pubDate>Fri, 07 Jun 2019 16:58:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121099</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121099</wfw:commentRss><description>We add a filter when we select the table row to get back just the selected one... Do you mind attaching your form? I can set this up for you so you can see it.</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121097.aspx</link><pubDate>Fri, 07 Jun 2019 16:00:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121097</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121097</wfw:commentRss><description>Wow, thank you for the quick response! I do need a bit of help if you don&amp;#39;t mind. So you are saying set Value and Display to Product. But then how would I get the rule to look at the price associated to that product in the table? ( I am extremely new to this, so I am sorry if I require a bit more hand holding)</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121096.aspx</link><pubDate>Fri, 07 Jun 2019 15:35:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121096</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121096</wfw:commentRss><description>Sorry about the formatting issues - the forum software is old - use IE for best experience (even though I don&amp;#39;t, I just gave up on line breaks &amp;amp; use Chrome). I think you should set the dropdown to use the name for the display and value and add a rule to the product field that sets another field to the price. Let me know if you need a hand with that - you can attach a copy of your form under Options in a reply.</description></item><item><title>Re: Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121095.aspx</link><pubDate>Fri, 07 Jun 2019 15:30:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121095</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121095</wfw:commentRss><description>Sorry for the terrible formatting, not sure why new lines are not coming in</description></item><item><title>Get display name for drop down list in another field</title><link>https://www.infopathdev.com:443/forums/thread/121094.aspx</link><pubDate>Fri, 07 Jun 2019 15:28:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121094</guid><dc:creator>jordanberry89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121094</wfw:commentRss><description>I feel like I have looked everywhere for this answer, but cant seem to get it work how I like. Here is my situation.

I have a sharepoint list that looks like this

ID | Product | Price
1   | Item     | 100
2   | Item2   | 300

Infopath has 2 fields (in this scenario):
Product (Drop down list)
Price (Read Only Text)

I then have an infopath form reading from that table. What I would like to happen is, the user selects the product from a drop down list, and the unit price is shown in a read-only text field. 

Here is what I have tried, but ran into issues

For the drop down, set the display to Product and the value to Price, then set the default value of the Price field to Product, which brings back the value (not display). This is exactly what I want, except when I publish this to a sharepoint site, and save it, the form will create a list entry with ID | Price | Price, and never set the display name.</description></item></channel></rss>