Permalink
Browse files

sample for form_series added

  • Loading branch information...
1 parent 76457f2 commit 2f3e84051cb0c8af74591a0bd53878572d177d67 @racke racke committed Mar 11, 2010
Showing with 23 additions and 0 deletions.
  1. +23 −0 guides/wellwell.xml
View
@@ -487,6 +487,29 @@ check because they are evaluated earlier, during autoload routine.
<database class='field'>position</database>: Position of part (1,2,3,...)
</para></listitem>
</itemizedlist>
+ <para>As example we are looking at the checkout form, with the
+ following parts:
+ </para>
+ <itemizedlist>
+ <listitem>Shipping</listitem>
+ <listitem>Payment</listitem>
+ <listitem>Confirmation</listitem>
+ <listitem>Receipt</listitem>
+ </itemizedlist>
+ <para>
+ These are the corresponding entries in <database class='table'>form_series</database>:
+ </para>
+ <screen>
+mysql> select name,part,label,profile,position from form_series where name = 'checkout' order by position;
++----------+--------------+--------------+----------+----------+
+| name | part | label | profile | position |
++----------+--------------+--------------+----------+----------+
+| checkout | shipping | Shipping | shipping | 1 |
+| checkout | payment | Payment | | 2 |
+| checkout | confirmation | Confirmation | | 3 |
+| checkout | receipt | Receipt | | 4 |
++----------+--------------+--------------+----------+----------+
+ </screen>
</section>

0 comments on commit 2f3e840

Please sign in to comment.