Date: 07/28/00
- Next message: Arne: "Re: [phplib] phpwebhosting.com"
- Previous message: toby cabot: "Re: [phplib] set_block(): Please Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
following my previous post about oohforms,
I fixed my problem by changing the self_get_frozen() method in
of_text.inc
The $val variable passed as the first parameter was not taken into
account !
Moreover, the string returned was included in a table.
It now returns the hidden field + the raw value, letting you take care
of how it is displayed.
This applies to phplib7.2b
Enjoy,
hellekin.
function self_get_frozen($val,$which, &$count) {
// I didn't test this part, as the element should be
// a "text" element, hence a string...
if (is_array($val))
$val = $val[$which];
$n = $this->name . ($this->multiple ? "[]" : "");
$str = "<input type='hidden' name='$n' value='$val'>\n $val\n";
$count = 1;
return $str;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Arne: "Re: [phplib] phpwebhosting.com"
- Previous message: toby cabot: "Re: [phplib] set_block(): Please Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

