PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CGI
/
HtmlExtension
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a text field Input element, as a String. - !ruby/struct:SM::Flow::P body: <tt>name</tt> is the name of the input field. <tt>value</tt> is its initial value. <tt>size</tt> is the size of the input area. <tt>maxlength</tt> is the maximum length of input accepted. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " text_field("name")\n # <INPUT TYPE="text" NAME="name" SIZE="40">\n\n text_field("name", "value")\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="40">\n\n text_field("name", "value", 80)\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="80">\n\n text_field("name", "value", 80, 200)\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">\n\n text_field("NAME" => "name", "VALUE" => "value")\n # <INPUT TYPE="text" NAME="name" VALUE="value">\n" full_name: CGI::HtmlExtension#text_field is_singleton: false name: text_field params: (name = "", value = nil, size = 40, maxlength = nil) visibility: public
[-] blockquote-i.yaml
[edit]
[-] scrolling_list-i.yaml
[edit]
[-] form-i.yaml
[edit]
[-] radio_group-i.yaml
[edit]
[-] file_field-i.yaml
[edit]
[-] html-i.yaml
[edit]
[-] base-i.yaml
[edit]
[-] hidden-i.yaml
[edit]
[-] submit-i.yaml
[edit]
[-] popup_menu-i.yaml
[edit]
[-] text_field-i.yaml
[edit]
[-] checkbox_group-i.yaml
[edit]
[-] cdesc-HtmlExtension.yaml
[edit]
[-] a-i.yaml
[edit]
[-] radio_button-i.yaml
[edit]
[-] textarea-i.yaml
[edit]
[-] img-i.yaml
[edit]
[-] password_field-i.yaml
[edit]
[+]
..
[-] reset-i.yaml
[edit]
[-] checkbox-i.yaml
[edit]
[-] image_button-i.yaml
[edit]
[-] multipart_form-i.yaml
[edit]
[-] caption-i.yaml
[edit]