Gossamer Forum
Home : Products : DBMan : Customization :

conditionnal printing in login form

Quote Reply
conditionnal printing in login form
Hi,

Can someone help me to understand :
i try to put a variable like (in the <body> tag) :

|;
if ($in{'login_form'}) {
print qq|TEST|;
}
print qq|

because i want a 'TEST' to appear only in the Login form page (i use the 'format.pl' file of 'relational mod').
but it doesn't work.

If i try
|;
if ($in{'add_form'}) {
print qq|TEST|;
}
print qq|
then it works, 'TEST' appears in the 'add form'.

i could not find out in the script.
tanx if you know.