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(???????));
}
|
 |
 |
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!
|
 |
 |
|