CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Guidance needed for creating forgotten password routine

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.