On Tue, 29 Mar 2005 13:51:44 +1000, Hawkes, Mick I wrote: > Hi all, > > All i want is a pull down select to work. I can get it to display passed data > but I just can't get it to > return the selection. here is a code snippit (its inside a table) . > > <td><select name ="TMPL_VAR NAME="html_status">">
You're missing a "<" before the "TMPL" here. > <option value = "<TMPL_VAR NAME="html_status">" selected> <tmpl_var > name="HTML_Status"> Why is the last "tmpl_var name" not in upper case, like your other TMPL_VAR tags? Not that this is an error or something, but if you can, you really should try to be consistant, it helps readability. Also, are you sure you have both "html_status" and "HTML_Status" vars or is this just a typo? In any case I personally think it's bad to have 2 template vars that are the same name except for case, but that's just me ;-) > <option value="Open"> >Open This: ">Open" is probably a mistake. Should probably be "Open". > so why doesn't it work? No problem I can see with your template apart from the above comments. Of course I would have to see your Perl code and final HTML output to help you fully debug the problem, if the above fixes don't help. -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>