Page 1 of 1
[solved] CreateInputText
Posted: Tue Mar 16, 2010 3:51 pm
by musicscore
I want to have a kind of CreateInputText but the content should be read-only.
With function can I use.
Musicscore
Re: CreateInputText
Posted: Tue Mar 16, 2010 4:00 pm
by Jos
CreateInputText

just don't save it

Re: CreateInputText
Posted: Tue Mar 16, 2010 5:44 pm
by Wishbone
You can use readonly="readonly" in the "addtext" parameter of CreateInputText. Of course you will have to escape the quotes.
http://cmsmadesimple.org/apidoc/CMS/CMS ... eInputText
http://htmldog.com/reference/htmltags/input/
Re: [solved] CreateInputText
Posted: Tue Mar 16, 2010 7:52 pm
by musicscore
Whisbone,
Thanx for your quick answer.
As a newbie trying to create my first module this help was very usefull.
Also Jos, thanx for you answer.
Musicscore