|
Raul,
Thanks for the info. I think if I understand correctly, I am doing that.
I have a section in my form like this.
<input type=hidden name="Irequest" value="/%Orequest%/">
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Tuesday, November 18, 2014 3:16 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] problems with CGIDEV2 zgbgetvarupper
The javascript variables do not get passed to the RPG, you need to put the value in an input field or in the URL that calls the rpg program.
Smith, Mike wrote:
I am trying my first meaningful program with CGIDEV2.
I have it populating the first screen of the HTML, but I cannot get the response from the pageup or pagedown button to show up in my program.
I'm basing my program loosely on a sample I found from a few years ago.
The buttons are defined as SUBMITs and call a little javascript to determine if pageup/pagedown or refresh is pressed.
I can see that it is hitting the java script and the value of field Irequest is populated with 'Pageup'
But when I get back into my program and execute
Irequest = zhbgetvarupper('Irequest') ;
The result always comes back blank and I'm at a loss as what to look for.
Thanks
Mike
Ps, I'll probably have more questions as I work through this program.
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.