× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



just use a form method="POST"

example:
/$TOPSECTION
<br />
<center>
<p style="font-size: 24px; color: #800000;">
<i>Enter the information below to see how the 2008 sick benefits
changes will affect you:</p></center>
<br /><br />

/$ANSWER1
<center>
<form method="post" action="/cgi-bin/sickpay2">
<table cols="3" rows="7" style="border-style: none">
<tr>
<th class="one">Number of accrued sick hours:</th>
<td><input name="ACCRUED" size="10"></td>
</tr>
<tr></tr>
<th class="one">Average hours worked per week:</th>
<td><input name="AVGHRS" size="10"></td>
</tr>
<tr></tr>
<th class="one">Current hourly pay rate:</th>
<td><input name="PAYRATE" size="10"></td>
</tr>
<tr>
<th class="one">Select An Option:</th>
<td class="one"><select name="sicktype">
<option value="illness">Illness
<option value="accident">Accident</select></center></td></tr>
<tr>
<td></td><td>
<center>
<input name="submit" type="SUBMIT" value="Submit"></center>
</td>
</table>
</form></center>

/$GRAPH

/$DISPLAYVALUES1
<center>
<table cols="5" rows="14" width="70%">
<tr style="font-color: #FFFFFF; background-color: #999999;
background-image: url(../images/page_bg_top.gif);
background-repeat: repeat-x;">
<th style="font-size: 20px; color: #DDDDDD;">
<br />Week</th>
<th style="font-size: 20px; color: #DDDDDD;">
Old<br />Plan</th>
<th style="font-size: 20px; color: #DDDDDD;">
New<br />Plan</th>
<th style="font-size: 20px; color: #DDDDDD;">
Difference</th>
<th style="font-size: 20px; color: #DDDDDD;">
Cumulative<br />Difference</th>
</tr>

/$VALUES
<tr>
<th style="text-align: center;">/%week%/</th>
<td style="text-align: right;">$/%currplan%/</td>
<td style="text-align: right;">$/%proposed%/</td>
<td style="text-align: right;">$/%difference%/</td>
<td style="text-align: right;">$/%cumdifference%/</td>
</tr>

/$VALUES1
<tr bgcolor="grey">
<th style="text-align: center;">/%week%/</th>
<td style="text-align: right;">$/%currplan%/</td>
<td style="text-align: right;">$/%proposed%/</td>
<td style="text-align: right;">$/%difference%/</td>
<td style="text-align: right;">$/%cumdifference%/</td>
</tr>

/$ENDDISPLAYTABLE
</center>
<tr></tr>
<tr style="font-color: #FFFFFF; background-color: #999999;
background-image: url(../images/page_bg_top.gif);
background-repeat: repeat-x;">
<th class="two" style="color: #DDDDDD">Total:</th>
<th class="two" style="text-align: right; color: #DDDDDD">
$/%totalcurrent%/</th>
<th class="two" style="text-align: right; color: #DDDDDD">
$/%totalproposed%/</th>
<th class="two" style="text-align: right; color: #DDDDDD">
$/%totaldifference%/</th>
<td></td>
</tr>
</table>

/$ENDPAGE
</body>
</html>

Thanks,
Tommy Holden



"Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
01/09/2008 10:26 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
RE: RPG CGI?






Hi Kelley,

If you need a hyperlink on something on your web page through CGI, what
you
can do is just add the <A HREF= link around the text you want to be a
hyperlink when you build your HTML page.

For example, if you need the text "eBay Auctions" turned into a hyperlink,
you could do something like this:

<A HREF="http://www.ebay.com";>eBay Auctions</A>

Then when that appears in the browser, it would just show eBay Auctions as
a
hyperlink.

That's the easiest way I can think of to do this.

Shannon O'Donnell

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kelley
Sent: Wednesday, January 09, 2008 9:14 AM
To: RPG programming on the AS400 / iSeries
Subject: RPG CGI?


I've been using Shannon O'Donnell's Step by Step article (very helpful)
and
have built several "informational" web pages for internal use. What I'd
like

to do is display a list of customers on a web page and let the user select

one by mouse click and then show some detail information (current orders,
backorders, etc.). I'm guessing that I'll need something on the web page
(JavaScript, ?) in order to recognize the mouse click and pass the data
back

to the i5. Can anyone point me in a direction?

Thanks,

Kelley



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.