dale
|
| Posted: 07/09/2002, 5:37 PM |
|
I'm trying to get a form value in before show.
the form is named onepc and the field is DESC
I'm using: $frmVal = $onepc->DESC->Value;
When I put in echo $frmVal I just get 1 for the value of that field instead of the actual value.
Does anyone know what I'm doing wrong?
Thanks
|
|
|
 |
PR
|
| Posted: 07/10/2002, 2:37 AM |
|
did you tryed this:
global $frmVal;
$frmVal = $onepc->DESC->Value;
|
|
|
 |
jjtoubia
|
| Posted: 07/11/2002, 12:13 AM |
|
Use GetValue, not Value
$frmVal = $onepc->DESC->GetValue();
|
|
|
 |
jjtoubia
|
| Posted: 07/11/2002, 12:15 AM |
|
if this is a Before_Show function, make sure you global in your array. If not then don't worry about it.
global $onepc;
$frmVal = $onepc->DESC->GetValue();
|
|
|
 |
dale
|
| Posted: 07/15/2002, 3:18 PM |
|
It works great
Thank you
|
|
|
 |