I'm hung up on a few issues. I need some help. Example:
$Parameter1 = $Container->orderID->GetValue();
$Parameter2 = "I'%'";
if (0 == CCCompareValues($Parameter1, $Parameter2, ccsText))
$Component->Visible = true;
The values in orderID are:
I12345
T23123
when orderID starts with an "I" -- I want the link to be visible
when orderID does not start with "I" -- it should not be visible.
Hello There,
can you please explain what is the value in this param? $Parameter2 = "I'%'";
If we need to check first character with "I" then just get first character and put condition like
if (substr($Parameter1, 0, 1) == "I")
{
// Code for visible link
} else{
// Code for link does not visible
}
Thanks
Divyesh
Hi
Contact me in the chat and give me more details about what you want to do in this code, only what you have written in description? Anyway this seems very simple for me.
Software1207