AlkantarClanX12

Your IP : 3.128.171.192


Current Path : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/text_field-i.yaml

--- !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(&quot;name&quot;)\n    # &lt;INPUT TYPE=&quot;text&quot; NAME=&quot;name&quot; SIZE=&quot;40&quot;&gt;\n\n  text_field(&quot;name&quot;, &quot;value&quot;)\n    # &lt;INPUT TYPE=&quot;text&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot; SIZE=&quot;40&quot;&gt;\n\n  text_field(&quot;name&quot;, &quot;value&quot;, 80)\n    # &lt;INPUT TYPE=&quot;text&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot; SIZE=&quot;80&quot;&gt;\n\n  text_field(&quot;name&quot;, &quot;value&quot;, 80, 200)\n    # &lt;INPUT TYPE=&quot;text&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot; SIZE=&quot;80&quot; MAXLENGTH=&quot;200&quot;&gt;\n\n  text_field(&quot;NAME&quot; =&gt; &quot;name&quot;, &quot;VALUE&quot; =&gt; &quot;value&quot;)\n    # &lt;INPUT TYPE=&quot;text&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot;&gt;\n"
full_name: CGI::HtmlExtension#text_field
is_singleton: false
name: text_field
params: (name = "", value = nil, size = 40, maxlength = nil)
visibility: public