‎2007 Oct 25 1:29 PM
Hi all,
I have 3 radiobutton, according to the radiobutton I have to filled the 3 input fileds.
if i select the 1 first radiobutton , the 1 first input filed filled ..respectivly for remaning . This is is happening correctly.
my requirement if the user miss the filled the input field, we need to popup the messge 'Enter the first field value" like this for remaning fileds also.
how can i do that.
regards,
Ajay
‎2007 Oct 25 2:21 PM
Hi Ajay,
Do like this..
if Radio1 = 'X' and textfield1 is initial.
message 'Enter the first field value' type 'E'.
elseif Radio2 = 'X' and textfield2 is initial.
message 'Enter the second field value' type 'E'.
elseif Radio3 = 'X' and textfield3 is initial.
message 'Enter the third field value' type 'E'.
else.
........ do nothing
endif.
<b>Reward for helpful answers</b>
Satish
‎2007 Oct 25 1:31 PM
Hi,
Simple, just make the input field mandatory.
regards,
Sarvesh
‎2007 Oct 25 1:34 PM
Hi,
declare them as mandatory...then you will get the message.....
or u can check:
if radiobutton1_field is not initial.
message 'Enter the first field value ' type 'I'.
endif.
similarly for all radiobuttons.
<b>reward points if useful.</b>
regards,
Vinod Samuel.
‎2007 Oct 25 1:35 PM
Hi Ajay,
Check if your input field is not initial.
IF R1 = 'X'.
IF NOT <INPUT FIELD ONE> IS INITIAL.
MESSAGE 'Enter Value in Field One' type 'I'.
ENDIF.
ELSEIF R2 = 'X'.
IF NOT <INPUT FIELD TWO> IS INITIAL.
MESSAGE 'Enter Value in Field Two' type 'I'.
ENDIF.
ELSEIF R3 = 'x'.
IF NOT <INPUT FIELD THREE> IS INITIAL.
MESSAGE 'Enter Value in Field Three' type 'I'.
ENDIF.
ENDIF.
Ali
Message was edited by:
Quadri
‎2007 Oct 25 2:21 PM
Hi Ajay,
Do like this..
if Radio1 = 'X' and textfield1 is initial.
message 'Enter the first field value' type 'E'.
elseif Radio2 = 'X' and textfield2 is initial.
message 'Enter the second field value' type 'E'.
elseif Radio3 = 'X' and textfield3 is initial.
message 'Enter the third field value' type 'E'.
else.
........ do nothing
endif.
<b>Reward for helpful answers</b>
Satish