cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have requirement. where I am printing name1 name2 name 3 and name 4 in smart form with different node for each.

currently is displaying

NAME1

NAME2

NAME3

NAME4

i want to hide name1 and name2 if there is values in name3 and name4. if name3 and name4 does not have any values then only it should print name1 and name2.

(all NAME1 NAME2 NAME3 NAME4 has values)

I am putting following conditions in conditions tab of name1 and name2 node.

GS_SOADRC-NAME3 = ' '.

GS_SOADRC-NAME4 = ' '.

And when i execute the smart form istead of hiding name1 and name2 its showing following output

NAME2

NAME1

NAME2

NAME1

where i want output to be

NAME3

NAME4.

can you suggest how this can be done?

Thanks,

Harshal

0 Likes
View Entire Topic
Abhijeet-K
Active Participant
0 Likes

Hi Harshal,

Can you put a screen shot of your smartform here? Especially, the part where you have put conditions and the texts for name1-4.

HarshalVakil
Active Contributor
0 Likes

I am adding condition in text element. As you can see in smart form conditions tab GS_SOADRC-NAME1 NE ' ' instead of this I am putting condition GS_SOADRC-NAME3 = ' ' AND GS_SOADRC-NAME4 = ' '.

Abhijeet-K
Active Participant
0 Likes

Hi Harshal,

Instead of ' ', write INITIAL.

venkateswaran_k
Active Contributor
0 Likes

Why this 1 = 2....

This condition returns always False then.....

HarshalVakil
Active Contributor
0 Likes

Actually the problem was with address node. names were getting displayed from the adrc table using address number. and that 1 = 2 condition was kept because in previous requirement there was no need of populating the text elements. Now I have removed that condition and over riding the data coming from address number and address node.

Thanks.