View previous topic :: View next topic
|
Author |
Message |
janani vs
New User
Joined: 01 Sep 2009 Posts: 15 Location: CHENNAI
|
|
|
|
I have designed a panel, and inputs to the panel are five fields, one among them is option,
if the user enters option as 1 , the user should give information only for 2 fields,
if the user enters option as 2, the user should give information for all the 4 fields,
but actually panels expect value for all the fields defined in it,
and its not proceeding after that, it displays the error message as
"Enter the required field
Can anyone suggest how to skip those checks.
Thanks,
Janani |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Looks to me as though you have your validation set up incorrectly in the panel, although as you didn't bother to post the panel definition I'll take a gamble on that being a psychic day vision.
Read, reread, and read again the ISPF manuals which are easily accessed from the sticky at the top of the CLIST / REXX forum and concentrate on the panel definitions, like VER for example.
I usually do my validations in the REXX code that displays the panel, but that's just a matter of personal choice. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Also, study the IF statement. |
|
Back to top |
|
|
|