xtodo-users
[Top][All Lists]
Advanced

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

[xtodo-users] Changing form input line


From: Clive Shane Hetherington
Subject: [xtodo-users] Changing form input line
Date: Fri, 01 Dec 2006 10:49:01 +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

p.s. I sent this a few days ago without subscribing to the mailing list. I have not heard back from the 'waiting for approval' bit so in the mean time subscribed.




reply via email to

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