Welcome Guest, Not a member yet? Register   Sign In
CodeExtinguisher TextBox attributes
#1

[eluser]Unknown[/eluser]
Hello,
anyone knows what are the allowed attributes? Same as HTML?
For instance I'm trying to make a readonly or disabled textbox.

I'm doing something like:

city:
class: TexBox
attributes:
-readonly

or

city:
class: TexBox
attributes:
readonly:

or something similar.

Anyone could please tell me how to create a disabled or readonly textbox?

Thanks in advance Smile
#2

[eluser]glenconde[/eluser]
'readonly'=>'readonly',

that's how you disable or put a read only textbox..
#3

[eluser]PhilTem[/eluser]
Just a little goggling led me here
http://www.w3schools.com/tags/att_input_readonly.asp

Wink




Theme © iAndrew 2016 - Forum software by © MyBB