dhodgdon
Posts: 80
|
| Posted: 04/15/2005, 7:46 PM |
|
Does anyone have sample code or a procedure you are willing to share that would allow a user to click a "forgotten password" link on the login page, capture their email address and than send via email their login information?
I know how to send the email and do ccdlookups to gather the information from the user table, but I am not sure how to capture the email address and sense the click of a button to start the process.
_________________
Regards,
David Hodgdon
|
 |
 |
Nicole
Posts: 586
|
| Posted: 04/18/2005, 2:05 AM |
|
Hello,
As you can start the process from button’s onClick event the first step is to create this event and assign Send Mail action to it. After code is generated you can modify it as you need (include DLook Up code, etc.).
To get data entered on a form from buttons onClick event use CCGetParam() function http://docs.codecharge.com/studio/html/Components/Funct...tParam.html?toc
_________________
Regards,
Nicole |
 |
 |
dhodgdon
Posts: 80
|
| Posted: 04/18/2005, 8:14 AM |
|
Thanks Nicole,
What I ended up doing was looking at how a search grid operated because it doesn't submit data to a table. I put code as you suggested in the OnClick event of the button and used CCDLookup using the xxx.value of the "dummy" control. I didn't think about the CCGetParam() function. It may be a more simple approach. I will look into it.
_________________
Regards,
David Hodgdon
|
 |
 |
|