Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms text elements

Former Member
0 Likes
1,053

Hi everybody,

I need a small clarifiaction in smartforms .Can i use condition checking like (If,endif) inside text element?is that possible?

Thanks

6 REPLIES 6
Read only

Former Member
0 Likes
794

I'm not an expert at SmartForms, by any stretch of the imagination, but I am going to have to say no. You can put conditions on an entire text node.

Regards,

Davis

Read only

Former Member
0 Likes
794

hi

good

you cant write the conditions inside the text element ,you can create a loop node and under that you can write your any kind of loop statement.

thanks

mrutyun^

Read only

Former Member
0 Likes
794

hi ,

yes,you can

you will find the a TAB called CONDITION

in that OUTPUT CONDITION -> there in FIELDNAME column enter RELATION OPERATOR you choose -> COMPARISION VALUE enter.

more revert back.

hope it will be helpful reward if it is.

regards

prabhu

Read only

Former Member
0 Likes
794

Hello,

In text element we hv tab 'conditions' in which u can give field name and its relation with the field value.

it works like if endif.

Regards,

Neelambari.

Read only

Former Member
0 Likes
794

hi ramprabhu,

please dont get confused you cant write inside the TEXT node but you can achive the same via what i wrote before,

regards

prabhu

Read only

Former Member
0 Likes
794

Ramprabhu, as I, and others, have said you can put conditions on an entire text node. If you wish to have only a few lines with a condition around those lines like:

if itab-field = 1

write: "Field = 1.

else

write: "Field does not equal 1".

You can do it by creating several text nodes and putting if statements (Flow Logic -> Alternative) around them. You can then change the necessary settings for the text node. For instance, if you want it to look like one continues text node then change the start setting (on the General Attributes tab) to Append Directly. This will make any successive nodes act like they are part of the first text node. If you want a blank line between the text (that spans the text nodes) you will have to put that blank line at the beginning of the successive text nodes. Otherwise SmartForms will cut off any blank spaces at the end of a text node.

Regards,

Davis

Message was edited by:

Davis