× 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.



I just noticed the ND attribute on the User ID fields. Darn copy and
paste. Gets me every time. :)

A 5 2'User 1 ID'
A USERID1 10A B 5 25
A 6 2'User 1 Password'
A 90 COLOR(RED)
A PASSWD1 10A I 6 25DSPATR(ND)
A 90 DSPATR(PC)
A 7 2'User 2 ID'
A USERID2 10A B 7 25
A 8 2'User 2 Password'
A 91 COLOR(RED)
A PASSWD2 10A I 8 25DSPATR(ND)
A 91 DSPATR(PC)

Tom Armbruster

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Armbruster
Sent: Thursday, April 01, 2010 4:19 PM
To: RPG programming on the IBM i / System i
Subject: RE: Help with password field using DDS

John,

If you have a label for each password entry line, rather than trying to
manipulate the input field, you could use indicators to change the
attributes of the labels.

For example:

A 5 2'User 1 ID'
A USERID1 10A B 5 25DSPATR(ND)
A 6 2'User 1 Password'
A 90 COLOR(RED)
A PASSWD1 10A I 6 25DSPATR(ND)
A 90 DSPATR(PC)
A 7 2'User 2 ID'
A USERID2 10A B 7 25DSPATR(ND)
A 8 2'User 2 Password'
A 91 COLOR(RED)
A PASSWD2 10A I 8 25DSPATR(ND)
A 91 DSPATR(PC)

Etc...

Tom Armbruster

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of John Allen
Sent: Thursday, April 01, 2010 2:48 PM
To: RPG400-L@xxxxxxxxxxxx
Subject: Help with password field using DDS

If have looked and looked for an answer to this and I know someone else
must
already have gone down this road.

So I shall post my question.



I need a screen to prompt a user for up to 5 passwords (several
different
people may have to enter their passwords before the program can
continue)

(it's for printing checks with signatures)



I do not want the passwords to display and I need to validate the fields
and
display message if one or more of the password are not valid.



it appears there is no way to define the field as a password field so
they
do not display (or better yet display *********)

If I make the field non-display so the passwords do not display then the
reverse image does not work (actually works but the non-display does not
display the reverse image)



I would like to know how others have handled fields where the user must
enter a password.



Thanks



John








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.