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

if condition..

Former Member
0 Likes
539

Hi,

I have a requirement like below I have 1 check box and 1 radio button

Check box

Radio button

Suppose if I select only radiobutton one functionality has to happen, and if I select radio button & check box one functionally has to happen how to write the if condition.

akshitha.

4 REPLIES 4
Read only

Former Member
0 Likes
516

if Checkbox = 'X' and Radiobuton = ' '.

do 1

elseif Checkbox = ' ' and Radiobuton = 'X'.

do 2.

endif.

Regards,

George

    • reward points to helpful answers

Read only

Former Member
0 Likes
516

if Checkbox = ' ' and Radiobuton = ' '.

do 1

elseif Checkbox = 'X' and Radiobutton = 'X'.

do 2.

endif.

Read only

Former Member
0 Likes
516

hi,

give as...

if p_check = 'X' and p_radio = ' '.

---

--

elseif p_radio = 'X' and p_check = ' '.

--

--

endif.

do reward if it helps,

priya.

Read only

christian_wohlfahrt
Active Contributor
0 Likes
516

Hi!

Let's asume, your different radiobuttons are named p_radi1, p_radi2,...

case 'X'.
when p_radi1.
if checkbox = 'X'.
"action 1
else.
"action 2
endif.
when p_radi2.
" action 3
when p_radi3.
endcase