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

Screen not getting ready for input again after error message

Former Member
0 Likes
1,296

Hi Experts,

I am facing a problem in module pool programming. There is a screen with 5 check boxes,

While validating those checkboxes , if any error message comes the screen is not getting ready for input again,

it gets grayed out. please help me in resolving this issue..

regards,

Sriram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
572

HI,

Use CHAIN ENDCHAIN Key words

In PAI

CHAIN.
FIELDS : CHECK1,
CHECK2,
CHECK3,
CHECK4,
CHECK5.
MODULE VALIDATE. 
ENDCHAIN

In Program

module validate input.
" Write your validations here.
" and give your error messages here For more info Take F1 help on CHAIN key word
endmodule

Cheerz

Ram

HI,

Use CHAIN ENDCHAIN Key words

In PAI

CHAIN.
FIELDS : CHECK1,
CHECK2,
CHECK3,
CHECK4,
CHECK5.
MODULE VALIDATE. 
ENDCHAIN

In Program

module validate input.
" Write your validations here.
" and give your error messages here For more info Take F1 help on CHAIN key word
endmodule

Cheerz

Ram

2 REPLIES 2
Read only

Former Member
0 Likes
573

HI,

Use CHAIN ENDCHAIN Key words

In PAI

CHAIN.
FIELDS : CHECK1,
CHECK2,
CHECK3,
CHECK4,
CHECK5.
MODULE VALIDATE. 
ENDCHAIN

In Program

module validate input.
" Write your validations here.
" and give your error messages here For more info Take F1 help on CHAIN key word
endmodule

Cheerz

Ram

Read only

sridhar_meesala
Active Contributor
0 Likes
572

Hi,

In the flow logic of the screen write,

PROCESS BEFORE OUTPUT.
 MODULE STATUS_1000.

PROCESS AFTER INPUT.
CHAIN.
 FIELD field1 MODULE check-field1.
 FIELD field2 MODULE check-field2.
ENDCHAIN.

Create an include F01. Double click on 'check-field1' and 'check-field2' and create those modules in F01 and write the validations in that. Now the fields wont get grayed out.

Thanks,

Sri.