cancel
Showing results for 
Search instead for 
Did you mean: 

Want to Hide Field name in Smartform

former_member1050074
Participant
0 Kudos

Hi Friends

I am printing three fields in a single page of smart form.

like as follows.

Label 1 Value1

Label 2 Value2

Label 3 Value3

In some case, if value 3 is not coming I need to omit the Label3, same for Value1 and 2.How can I handle this?

Shall I create different text element for each Values are is there any other solution for this issue.

Thanks

Gowrishankar

Accepted Solutions (1)

Accepted Solutions (1)

awin_prabhu
Active Contributor
0 Kudos

Hi Gowri,

Before printing each field, add a conditon to check whether its value is initial or not.

You can do it in Conditions tab of the Text Element.

Under Conditions tab, in Field Name enter your field containing the value, in Relational Operator enter NE and

Comparison Value enter INITIAL

Add this conditon for all fields.

former_member1050074
Participant
0 Kudos

Yes Friend .But we cannot hide field label using this operator right.

In that case we have to use different text element to print each item right.

Thanks

Gowrishankar

awin_prabhu
Active Contributor
0 Kudos

Yes, use 3 different text elements to print your 3 fields.

Then only we can add Conditon for every text element as i suggested above.

Ex:

Text element1 -> Print Label 1 Value1 Add Condition -> Value1 NE INITIAL

Text element2 -> Print Label 2 Value2 Add Condition -> Value2 NE INITIAL

Text element3 -> Print Label 3 Value3 Add Condition -> Value3 NE INITIAL

former_member1050074
Participant
0 Kudos

Ok Friend.I will do the same way.

Thanks for your Input.

Answers (1)

Answers (1)

Former Member
0 Kudos

Moderator message - When closing old threads, there is no need to add a comment. Adding a pasted answer like "closed" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved. Rob