cancel
Showing results for 
Search instead for 
Did you mean: 

smartform blank condition check problem

Former Member
0 Kudos

Hi,

i am printing the address detials in the secondary window.

I have to suppress name2 , street to suppress if they are blank.

Currently i am prininting all the name 1 name2 name3 name4 in a single box.

I tried to code in the editior like this

/: IF & NAME2& NE &SPACE&

& NAMEe2&

/: ENDIF

But still it is giving blank lines for name2 and street.

Please suggest is there a any other way to check the IF the conditon.

Thanks,

Radhakrishna.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You seem to be using SAPscript logic in a smartform. If you want to supress a text node in smartforms you need to use the 'Conditions' tab.

Regards,

Nick

Former Member
0 Kudos

Hi NIck,

Thanks for the suggesion.

Problem is i have 10 to 12 address fields. Currently i put all the fields in a single text node.

Otherwise i need to create 12 text nodes for each and every field.

Can't we restrict the blank values with the "IF" condition ?

Thanks,

Radhakrishna.

former_member205763
Active Contributor
0 Kudos

No you cant.

So better create seperate text elements for each value. or simply use an address node. it will take care of everything.

Answers (0)