If you are validating against data on the i, couldn't you have a drop
down list of possible values? So if you are validating invoice type or
store, then you just allow drop down lists with the valid entries that
way the user can only select valid values?
If you list is large, you could use a type ahead approach as well.
On 2/5/2013 10:17 AM, Michael Ryan wrote:
What's a good way to do simple validation against data contained on the iand
from a PHP program? I'd rather not invest in having to prepare, param,
execute a stored procedure when all I need is a simple true or false. Ior
have functions (implemented as procedures in a service program) that
returns what I want, but I'm having trouble executing that function from
PHP. I don't have a problem with a stored procedure that returns values
a stored procedure that returns a result set.
Is there something special/different about functions?
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.