<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/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>Using Variables</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/3643/using-variables</link><description>I&amp;#39;m trying to not use 16 nested ifElse statements I have created 8 fields all with the same name format $pX_haz_premium_c X being 1 to 8. Each performs a similar calculation based on which p number has been selected from a drop down list. I need to show</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using Variables</title><link>https://sugarclub.sugarcrm.com/thread/18310?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 16:06:08 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:6763407e-dd81-412d-893c-a6d20e1617f3</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://sugarclub.sugarcrm.com/members/howard"&gt;Howard Jennings&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;concat() outputs a string. So, if its output is $&lt;span style="color:#000000;background-color:#ffffff;"&gt;p3&lt;/span&gt;&lt;span style="color:#000000;background-color:#ffffff;border:0px;"&gt;_haz_premium_c, it&amp;#39;s not going to treat $&lt;span style="color:#000000;background-color:#ffffff;"&gt;p3&lt;/span&gt;&lt;span style="color:#000000;background-color:#ffffff;border:0px;"&gt;_haz_premium_c as a variable and calculate it. It&amp;#39;s going to treat it as the string, &amp;quot;$&lt;span style="color:#000000;background-color:#ffffff;"&gt;p3&lt;/span&gt;&lt;span style="color:#000000;background-color:#ffffff;border:0px;"&gt;_haz_premium_c&amp;quot; and put that in the field.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Is this question related to&amp;nbsp;what you were asking about &lt;a href="https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/3632/why-does-this-cause-my-instance-of-sugar-to-crash"&gt;here&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Variables</title><link>https://sugarclub.sugarcrm.com/thread/18309?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 13:16:26 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0bb9303f-f3dc-4d80-9ff2-896974afeb7c</guid><dc:creator>Andr&amp;#233; Lopes</dc:creator><description>&lt;p&gt;We may need more details, perhaps screen shots of current layout and functions behind the fields.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>