on 02-10-2008 11:24 AM
Hi all
i want to know , is there any way to hide the place on the form if that field is initial. the field i am displaying has a data type as char.
please suggest the way for any one of the two forms.(SAPscript or SMARTFORMS)
eg. if field2 is initial i wanna o/p as field1 field1 field1
field2 field3
field3 field3
best answers will be rewarded definitely.
thanks in advance
Hi,
You can use conditions to display them, so it is not a problem
Regards,
Narendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
thanks for reply.
But the thing is that i have showing the fields in one text node only. so some fields may be initial. so i can't use condition as global to text.
another thing is, i tried it by writing it as
&field1&
if field2 is not initial
&field2&
endif
if field3 is not initial
&field3&
endif
&field4&
but it is showing me the output which i dont need.
o/p is
field1
blank line
blank line
field4
o/p should be
field1
field4
i want to know, should i give '.' after each if & endif statment or what. but i tried that also. its not working.
any other solution pls.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In smartforms under table ->main area will be there -> under that rows will be there.
Select the perticular row type in which your filed is there and double click on it. Then right side screen displays 2 tabs.Press condistiona tab and put your required field <> space condition.
Try it may be this will solve your problem
Thanks,
Suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Before each variable use the condition to check if it is invisible and then display.
E.g: if &field1& is not initial
&field1&
endif.
if &field2& is not initial
&field2&
endif.
Reward if helpful.
Thanks,
Dishant
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.