5 <title>Meta Form</title>
6 <style>input[type=text], textarea { width: 400px; }</style>
11 <p>This site will write code for you (sql code, php code, html template, email template) to handle a form.</p>
12 <form action="~metaform_name~" method="get">
13 <p>The form name should not contain any capitals or symbols (besides underscore)</p>
15 <p>File name: <input type="text" name="file_name" value="~public_file_name attr~" autofocus>.html</p>
17 <p>DB table: <input type="text" name="table_name" value="~table_name attr~"></p>
19 <p>Printable singular: <input type="text" name="singular" value="~singular attr~"></p>
21 <p>Printable plural: <input type="text" name="plural" value="~plural attr~"></p>
26 <p><input type="checkbox" name="opt_email~opt_email checked~" value="Yes"> Send form results vie e-mail.</p>
28 <p><input type="checkbox" name="opt_db~opt_db checked~" value="Yes"> Save form results to a database.</p>
30 <p><input type="checkbox" name="opt_listing~opt_listing checked~" value="Yes"> Provide a "Listing" page.</p>
32 <p><input type="checkbox" name="opt_display~opt_display checked~" value="Yes"> Provide a "Display" page.</p>
34 <p><input type="checkbox" name="opt_pass~opt_pass checked~" value="Yes"> Password protect this page.<br>
35 <input type="checkbox" name="opt_public_form~opt_public_form checked~" value="Yes"> But with publicly accessible submission form<br>
36 <input type="checkbox" name="opt_public_display~opt_public_display checked~" value="Yes"> But with publicly accessible view page.</p>
38 <p>Below, specify the fields you'd like in your form, one field per line. You can (optional) add a field type at the beginning of the line. The following field types are available: <!--~types {~--><!--~types_sep {~-->, <!--~}~-->~type html~<!--~}~-->.</p>
40 <p>You can start a labeled fieldset by putting a <code>{</code> at the end of a line with the caption. Then end the fieldset with a <code>}</code> on a line by itself</p>
42 <p>Pulldown/radio options can be specified (one per line) indented below the field</p>
44 <p>Example:<br><code><pre>
46 contact info (all required) {
59 <textarea rows="10" cols="40" name="fields">~fields html~</textarea></p>
61 <p><input type="submit" name="preview" value="Continue"></p>