Pierrik Le Guennec
|
| Posted: 03/20/2002, 5:05 AM |
|
I would output a value from a menu item.
Is it possible ?
The inputs values or a form are linked with a table field :
perhaps by an event of the menu form ???
|
|
|
 |
Nicole
|
| Posted: 03/20/2002, 5:22 AM |
|
Pierrik,
if you mean passing parameter passed through URL as output parameter of menu item, here is description how to do it. Add Label type field to menu form and select 'HTML' flag in its properties, put custom code that catches passed parameter to BeforeShow event of menu form. E.g.:
PHP
$fldfield_name = "<a href = \"AnyPage.php?param_name=".get_param("param_name")."\">Link Name</a>";
ASP
fldfield_name = "<a href = ""AnyPage.asp?param_name="& GetParam("param_name")& """>Link Name</a>"
|
|
|
 |
Alex LL
|
| Posted: 07/17/2002, 8:12 AM |
|
Hello,
saw this answer to a question about output a value from a menu form.
I tried your solution (php) in Before Show events but I get
Parse error: parse error, unexpected T_STRING in ...
What is wrong?
Thanks
|
|
|
 |
|