CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Passing Variables to Forms on the same Page

Print topic Send  topic

Author Message
Albert
Posted: 08/01/2003, 10:00 AM

I'm using CCS2.0 (ASP) and I have two record forms on one page. One form is intended to allow visitors to sign-up on a an email list. The second form is intended to allow a visitor to modify there email list profile. For instance, when someone comes to the page for the first time they will be presented with the sign-up form. If their email address already exists then I want the second form to be displayed allowing them to modify their profile.

Does anyone know a way to accomplish this?
Blinky Bill
Posted: 08/03/2003, 5:56 AM

Sure,

Assuming that the user has already logged in, CCS has built functions that allow checking of this sort of stuff.

using asp you could check this way

IsEmpty(CCGetUserID())

the would return true if the user is NOT logged in.

armed with this information you set the visible property of the said record forms to true or false.


   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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