Q
Problem solve Get help with specific problems with your technologies, process and projects.

E-mail addresses in editable text fields

I am trying to create a form where the user enters his/her e-mail address into an editable text field. I then want to do a lookup to the names.nsf to see if that e-mail address exists. If it does, I want the other fields on the form to be automatically populated (i.e., FirstName, LastName, etc.). If it does not, then I want the fields FirstName and LastName to be editable text fields where the user enters the info. This seems to be an easy thing at first thought, but I have not found a solution.
This does work but is a bit of a task to get working the first time. First, you'll need to have (at least) read access for the user to the NAB. You'll also need to set the database properties to "use javascript when generating pages." Do your lookup to the NAB and use "refresh field on keyword change" in your form fields. You'll also need to drop the returned name information into hidden "select" fields and then use JavaScript to populate "div" areas to display the name. Hint: the HTML "select" is saved to Notes text fields that will hold the name information.

This was last published in November 2002

Dig Deeper on Domino Resources - Part 4

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchExchange

SearchContentManagement

Close