on 12-30-2010 6:41 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.