2009年4月23日星期四

[fw-core] Help required with Zend_Form

Hi,
 
I have a table which stores images for products. A product may contain more than 1 image.
The image table looks line (id, file_name, description, sort_order, prod_id, ...)
 
I would like to display a form which looks like...
SORT IMAGES (one row per record)
image_1 [text_box_1]
image_2 [text_box_2]
image_3 [text_box_3]
...
[Submit button]
 
The user can enter sort order for images and sublit the changes
 
My question... how do I polulate the form with the array data and also retrive it on submission?
 
All guidance and help is appreciated.
 
-R

没有评论: