We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

My field seems to be blank but I know it's not.

I'm trying to dynamically show some information in this nested area, but I can't seem to get it quite right.

{ MERGEFIELD BeginGroup:ItemInfo \* MERGEFORMAT }

{ SET bDim = "0" }
{ IF { MERGEFIELD I-Width } = "" "FAIL" "Dimensions: " }{ MERGEFIELD I-Width \* MERGEFORMAT } { MERGEFIELD I-Height \* MERGEFORMAT } { MERGEFIELD I-Depth \* MERGEFORMAT }

{ MERGEFIELD EndGroup:ItemInfo \* MERGEFORMAT }

Basically...

If the item had no dimensions:
 
FAIL
 
 
And if it had dimensions:
 
Dimensions: <<I-Width>> <<I-Height>> <<I-Depth>>

1 Reply

SK Sathish K Syncfusion Team April 23, 2015 06:07 AM UTC

Hi Joshua,

Thank you for your interest in Syncfusion products.

We are unable to reproduce the reported issue with If field. We have prepared a sample to illustrate the same. Please find the sample from below link.

Sample link:
http://www.syncfusion.com/downloads/support/forum/118917/Sample364278013.zip

If you are still able to reproduce the issue, then kindly update us your sample or code snippet along with the template document to reproduce the issue. It will help us to analyse further on the reported issue and provide you appropriate solution.

Please let us know if you have any other questions.

Regards,
Sathish



Loader.
Live Chat Icon For mobile
Up arrow icon