CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hidden Parameter access on child form

Print topic Send  topic

Author Message
samelk

Posts: 35
Posted: 04/16/2008, 7:09 AM

Hello,

I have a parent form and a child form. I have the parentid stored in a hidden field on the form. How do I access that hidden parentid in the where clause of the child form through the gui? How do I access the value in that hidden field?

I am using CCS4.

Thanks in advance.
Sam
View profile  Send private message
maxhugen

Posts: 272
Posted: 04/16/2008, 4:24 PM

If your parent form uses a URL parameter to display the correct parent record, you can add a parameter to the child form's Data Source to reference this URL Param.
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
samelk

Posts: 35
Posted: 04/16/2008, 5:18 PM

Max,

Thanks for your reply. I know how to do that but I don't want the id to show in my URL and that is why I need it to be a hidden parameter. What I need to know is how do I use the hidden parameter in the where clause of the child query.

Sam
View profile  Send private message
samelk

Posts: 35
Posted: 04/17/2008, 6:05 AM

Max, also, I don't want any links. I want to be able to send the hidden value after you hit the submit button. When you hit the submit button on the parent form I want to send the customerid in a hidden field to the child form and use it in the child select query.
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 04/17/2008, 8:21 PM

samelk
You could use a session variable or you could encrypt the value in the URL. There are other ways as well but it depends on how complicated or simple you want this to be.
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.

Web Database

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.