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

 Default Value

Print topic Send  topic

Author Message
jokecoat

Posts: 43
Posted: 02/06/2011, 7:58 AM

Hi,

I have a search, grid and record.

Now i need the default value of a hidden control (record) to be the same as the search string.

Searchstring = s_groepId (roosterSearch)
Hidden control = groepId (rooster1)

Should be something like this right? (Before insert)

function groepId() {
global $rooster1;
global $roosterSearch;

$rooster1->groepId->SetValue(???????));

}
View profile  Send private message
datadoit
Posted: 02/06/2011, 10:27 AM

Real simple... Choose your hidden control, then look in the Properties
toolbox, and for Default Value put: CCGetParam("s_groepId", "")
jokecoat

Posts: 43
Posted: 02/06/2011, 10:39 AM

Simple or not, you made my day :-)
ty!
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.

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.