cancel
Showing results for 
Search instead for 
Did you mean: 

smart forms

Former Member
0 Kudos

how to use if condition in Smart forms

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jeya

for if condition type of functionality,you can use the CONDITION tab provided on the text node or table or template .

for eg if you want to print a variable for only employee <b>jeya</b> then for that text node in which u r printing this field put a condition as field = 'Jaya' .this is just an example you can give ur required condition.

the other way wherein you want to edit the value of teh variable depending on some conditions you can create program lines node

Hope this gives you an idea

Reward points if helpful.

Regards

Zarina

Former Member
0 Kudos

in text field u can mention the condition filed with ur comparatives field and value.

Answers (4)

Answers (4)

Former Member
0 Kudos

in text field u can mention the condition filed with ur comparatives field and value

Former Member
0 Kudos

not only in text, in template ,table,main window, graphics u can see condition tab.

u can specify ur condition there.

if u want to write if condition like abap program, just insert a program line & write ur IF ..

ELSEIF..

ENDIF. statement.

Former Member
0 Kudos

Hi jeya,

right click at the place where you need to put the condition and then select create->flow logic->alternative.

give your if condition here.. and in the true node give the text that should be displayed.. in the flase node give the else condition of your if .

if the requirement is to change the value of a variable based on the if condition you have the program lines. import the variables which you need to check , put your if condition here and change the variable and export the variable you changed.

Regards,

Vidya.

Former Member
0 Kudos

Hi,

Try this,

For example u want to print some thing in a TEXT node, in that node goto

CONDITION tab, there u can give ur condition.

or

Right click on node, Click on the ALTERNATIVE options

Give the condition in the Condtion option in General Attributes Tab,

It will have two options TRUE and FALSE ,

depending on the condition we give , it triggers TRUE option or False

option. insert a text which u want to display in TRUE part or in False

as per ur logic.