reinel_arias
Posts: 3
|
| Posted: 07/30/2009, 10:11 PM |
|
Greetings 2 all,
I have a mysql db's table: elements (name,class,ip,mem,hd)
I have a grid to capture the textboxes name,ip,mem and hd (but not class)
Given that I already knew the 'class' field value - cos I got it thru the URL -,
I want to modify the INSERT list before it be executed so that I can add the field 'class' and its value to it.
What code must I add? Responding on which event?
Oh!!. I cook with PHP, but I have no experience in coding with CCS. 
thank you
|
 |
 |
damian
Posts: 838
|
| Posted: 07/30/2009, 11:12 PM |
|
create a hidden field and in a before show event on the field do something like:
$Component->SetValue(CCGetFromGet("class",""));
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
|