xtodo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xtodo-users] Changing form input


From: Clive Shane Hetherington
Subject: [xtodo-users] Changing form input
Date: Thu, 30 Nov 2006 01:10:22 -0000
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Hi People,

I am just starting to use xtodo - it's great. I am trying to change the form description input so that rather than have one line for input I want a small box of three lines (3 rows by 55 cols). I have tried changing the line below using the textarea code . . . like
<textarea id='text' name='text' rows='3' cols='55'></textarea><br />
But I cannot get this to work around the .stripslashes($text). part? Any suggestions? I want to be able to have about 150 characters input. Is this possible?

function XToDoFormDescription($text) {
$output[] = "<input type='text' name='todo-description' size='55' value=\"".stripslashes($text)."\" />";

    return implode('', $output);

All help would be appreciated.

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]