‎2007 Jun 05 1:19 PM
Hi everybody,
I need a small clarifiaction in smartforms .Can i use condition checking like (If,endif) inside text element?is that possible?
Thanks
‎2007 Jun 05 1:37 PM
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
‎2007 Jun 05 1:40 PM
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^
‎2007 Jun 05 1:40 PM
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
‎2007 Jun 05 1:42 PM
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.
‎2007 Jun 05 1:46 PM
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
‎2007 Jun 05 1:48 PM
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