Re: [FormBuilder]Can FormBuilder builder a form list for add/edit more than one DO
| From: | Justin Patrin | Date: | Tue, 22 Nov 2005 02:42:04 +0000 |
| Subject: | Re: [FormBuilder]Can FormBuilder builder a form list for add/edit more than one DO | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22049@lists.php.net to get a copy of this message | ||
On 11/21/05, digit Shine <digit_shine@yahoo.com.cn> wrote:
> Can FormBuilder builder a form list for add/edit more than one DataObject. The form demonstrate
> below:
>
> <form name="form1" method="post" action="">
> <table width="100%" border="0" cellspacing="0"
> cellpadding="0">
> <tr>
> <td width="27%">name</td>
> <td width="54%">gender</td>
> <td width="19%">category</td>
> </tr>
> <tr>
> <td><input name="textfield" type="text"
> size="15"></td>
> <td><p>
> <label>
> <input type="radio" name="sex" value="0">
> female</label>
> <label>
> <input type="radio" name="sex" value="1">
> male</label>
> <br>
> </p></td>
> <td><select name="select">
> <option value="1" selected>friend</option>
> <option value="2">colleagu</option>
> <option value="3">relation</option>
> </select></td>
> </tr>
> <tr>
> <td><input name="textfield" type="text"
> size="15"></td>
> <td><label>
> <input type="radio" name="sex" value="0">
> female</label>
> <label>
> <input type="radio" name="sex" value="1">
> male</label></td>
> <td><select name="select">
> <option value="1" selected>friend</option>
> <option value="2">colleagu</option>
> <option value="3">relation</option>
> </select></td>
> </tr>
> </table>
> <p>
> <input type="submit" name="Submit" value="提交">
> </p>
> </form>
>
Not on its own, but it has features to allow this. Specifically
elementNamePrefix/Postfix and useForm().
--
Justin Patrin