Jump to content

Conditional statement strings


rob

Recommended Posts

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 by rob
Link to comment
Share on other sites

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 by rob
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...