/[drupal]/contributions/docs/developer/topics/forms_api_reference.html
ViewVC logotype

Diff of /contributions/docs/developer/topics/forms_api_reference.html

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.31.2.16 by darthsteven, Tue Apr 15 11:58:18 2008 UTC revision 1.31.2.17 by darthsteven, Sat Mar 7 18:01:20 2009 UTC
# Line 1  Line 1 
1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2  <html xmlns="http://www.w3.org/1999/xhtml">  <html xmlns="http://www.w3.org/1999/xhtml">
3  <!-- $Id: forms_api_reference.html,v 1.31.2.15 2008/04/14 04:14:44 darrenoh Exp $ -->  <!-- $Id: forms_api_reference.html,v 1.31.2.16 2008/04/15 11:58:18 darthsteven Exp $ -->
4  <head>  <head>
5  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6  <title>Forms API Reference</title>  <title>Forms API Reference</title>
# Line 453  td { Line 453  td {
453      <td class="x"><strong>X</strong></td>      <td class="x"><strong>X</strong></td>
454      <td>-</td>      <td>-</td>
455      <td class="x"><strong>X</strong></td>      <td class="x"><strong>X</strong></td>
456      <td class="x"><strong>X</strong></td>      <td>-</td>
457      <td class="x"><strong>X</strong></td>      <td class="x"><strong>X</strong></td>
458      <td>-</td>      <td>-</td>
459    </tr>    </tr>
# Line 846  Store data in a hidden form field.

Line 846  Store data in a hidden form field.

846  <h3><a name="item" id="item"></a>item</h3>  <h3><a name="item" id="item"></a>item</h3>
847  <p><strong>Description</strong>: Generate a display-only form element allowing for an optional title and description. </p>  <p><strong>Description</strong>: Generate a display-only form element allowing for an optional title and description. </p>
848  <p>Note: since this is a read-only field, setting the <a href="#required">#required</a> property will do nothing except theme the form element to look as if it were actually required (i.e. by placing a red star next to the <a href="#title">#title</a>).</p>  <p>Note: since this is a read-only field, setting the <a href="#required">#required</a> property will do nothing except theme the form element to look as if it were actually required (i.e. by placing a red star next to the <a href="#title">#title</a>).</p>
849  <p><strong>Properties</strong>: <a href="#attributes">#attributes</a>, <a href="#description">#description</a>, <a href="#prefix">#prefix</a> (default: ''), <a href="#required">#required</a>, <a href="#suffix">#suffix</a> (default: ''), <a href="#title"><strong>#title</strong></a>, <a href="#type"><strong>#type</strong></a>, <a href="#value"><strong>#value</strong></a>, <a href="#weightval">#weight</a></p>  <p><strong>Properties</strong>: <a href="#description">#description</a>, <a href="#prefix">#prefix</a> (default: ''), <a href="#required">#required</a>, <a href="#suffix">#suffix</a> (default: ''), <a href="#title"><strong>#title</strong></a>, <a href="#type"><strong>#type</strong></a>, <a href="#value"><strong>#value</strong></a>, <a href="#weightval">#weight</a></p>
850  <p><strong>Usage example</strong> (<a href="http://drupaldocs.org/api/head/file/modules/contact.module">contact.module</a>):</p>  <p><strong>Usage example</strong> (<a href="http://drupaldocs.org/api/head/file/modules/contact.module">contact.module</a>):</p>
851  <div class="codeblock">  <div class="codeblock">
852    <p><code><font color="#000000"> <font color="#0000bb">&lt;?php<br />    <p><code><font color="#000000"> <font color="#0000bb">&lt;?php<br />

Legend:
Removed from v.1.31.2.16  
changed lines
  Added in v.1.31.2.17

  ViewVC Help
Powered by ViewVC 1.1.3