<?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: Customize an expression box or a vertical label</title><link>https://www.infopathdev.com:443/forums/thread/3133.aspx</link><pubDate>Wed, 30 Aug 2006 12:15:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3133</guid><dc:creator>larniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3133</wfw:commentRss><description>Hi Matt,&lt;br /&gt;&lt;br /&gt;That blog helps me a lot.&lt;br /&gt;I found that "concat()" meets my requirement.&lt;br /&gt;&lt;br /&gt;Thank you very much!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Matt Faus&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hello larniel,&lt;br /&gt;&lt;br /&gt;You might be able to accomplish this by using the eval() function, but I'm not sure quite what the syntax would be in this scenario.  For more info on this function, check out this post on the InfoPath blog:&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&gt;http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Otherwise, you can control the text that is displayed in an expression box by binding the expression box to a node in a DOM and then using code to manipulate the value of that node.  You can create anything in that node and that is what will be displayed in the Expression box.&lt;br /&gt;&lt;br /&gt;The former of the two solutions would be much more elegant if you can figure it out, but the latter would probably be easier to accomplish.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: Customize an expression box or a vertical label</title><link>https://www.infopathdev.com:443/forums/thread/3132.aspx</link><pubDate>Tue, 29 Aug 2006 20:56:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3132</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3132</wfw:commentRss><description>Hello larniel,&lt;br /&gt;&lt;br /&gt;You might be able to accomplish this by using the eval() function, but I'm not sure quite what the syntax would be in this scenario.  For more info on this function, check out this post on the InfoPath blog:&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&gt;http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Otherwise, you can control the text that is displayed in an expression box by binding the expression box to a node in a DOM and then using code to manipulate the value of that node.  You can create anything in that node and that is what will be displayed in the Expression box.&lt;br /&gt;&lt;br /&gt;The former of the two solutions would be much more elegant if you can figure it out, but the latter would probably be easier to accomplish.</description></item><item><title>Customize an expression box or a vertical label</title><link>https://www.infopathdev.com:443/forums/thread/1533.aspx</link><pubDate>Tue, 29 Aug 2006 16:00:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1533</guid><dc:creator>larniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1533</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;When I use XPath expression to customized the text of the expression box (or the vertical label), is it possible to manage the text like &lt;s&gt;constant characters&lt;/s&gt; + &lt;u&gt;variable characters&lt;/u&gt;?&lt;br /&gt;E.g.&lt;br /&gt;  ID: 1&lt;br /&gt;  ID: 2&lt;br /&gt;  ...&lt;br /&gt;Among these, "ID: " are constant characters, and 1/2/... are values of XPath expression "/my:root/my:ID" difference from case to case.&lt;br /&gt;&lt;br /&gt;By the way, can I control the expression box (vertical label) in codes?&lt;br /&gt;&lt;br /&gt;Thanks!</description></item></channel></rss>