Page 1 of 1

comment form

Posted: Thu Dec 01, 2005 11:02 am
by MySchizoBuddy
in the comment form we have this
value="{$commentform_name}"

Can i change this value? or is it reserved
I want to enter some default values that should show.

Re: comment form

Posted: Thu Dec 01, 2005 11:04 am
by garvinhicking
This value contains the name of a user when he submitted the form with errors, so that his previous name is filled in there.

But you can use smarty syntax to change the value if it's empty. Like {$commentform_name|@default:"My string"} or something like that. I don't know the actual smarty modifier for that, but I'm sure it's in the docs.

HTH,
Garvin

Posted: Thu Dec 01, 2005 12:15 pm
by MySchizoBuddy
Thanks garvin

Also how do i get ride of this text from the comment form

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

Posted: Thu Dec 01, 2005 12:18 pm
by garvinhicking