rob Posted February 19, 2011 Share Posted February 19, 2011 (edited) Hi List, Not sure I even have the correct terminology for the title. I wondered how I could evaluate a parameter in a string. Something like if( toggle ABC is off , then use string parameter X , otherwise use string parameter Y ) . A simple example could be../if(`chs("customname_toggle1")`== 1,`chs("list_customnamedl")`,`chs("list_objectname1")`_obj I would be interested in the correct workflow and if its even possible ! Rob Edited February 19, 2011 by rob Quote Link to comment Share on other sites More sharing options...
anim Posted February 20, 2011 Share Posted February 20, 2011 you need to use ifs() for strings so it would be something like `ifs(ch("toggle") == 1, chs("name1"),chs("name2"))`_obj Quote Link to comment Share on other sites More sharing options...
rob Posted February 20, 2011 Author Share Posted February 20, 2011 (edited) Hi Tomas, Thanks for the answer I had a lead from someone else also.To push it further forward I decided to wrap it up in a multi param block list . It works to a certain extent ie ../`ifs(ch("custotoggle#") >= 1 ,chs("listobjectname#"),chs("customname2"))`_obj But for each generation from the block list the # of each param does not evaluate. any ideas ? Rob Edited February 20, 2011 by rob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.