{textarea} smarty php

heellheidge

New Member
further to a previous question, I have this code: \[code\] <p class="required"> {err for="msg"} <!--{{label {t _inquiry_msg}:}}--> {textarea onblur="if(this.valuehttp://stackoverflow.com/questions/2788417/=='') this.value='http://stackoverflow.com/questions/2788417/Skriv her';" onfocus="if(this.valuehttp://stackoverflow.com/questions/2788417/=='Skriv her') this.value='';"} {/err} </p>\[/code\]And I want the output to be \[code\]<textarea onblur="if(this.valuehttp://stackoverflow.com/questions/2788417/=='') this.value='http://stackoverflow.com/questions/2788417/Skriv her';" onfocus="if(this.valuehttp://stackoverflow.com/questions/2788417/=='Skriv her') this.value='';">Write here!</textarea>\[/code\]I tried \[code\]{/textarea}\[/code\] but it didn't work in my template file.Also, using html \[code\]<>\[/code\] tags doesn't work, it breaks the page.http://euroworker.no/Konftel-300-IP.268Is it possible to make this in smarty/php?Thanks :)
 
Top