Hello,

I would like to get such functionality:
1) I have a form for adding/removing images which is embedded into a
form for adding/editing game.
2) In this form there is a list of images, every image has remove
option.
3) In this form there are couple of widgets for adding new image: file
input, image description, image source, etc. There are also a button
for sending image on server.
4) When you want to add image, you need to select file and fill all
widgets. Then you click send button.
5) Image is added into the list and are widgets are cleared, so you
can add new image.

My idea of implementing it:
1) There are 2 button for submit form. First button for submit whole
game form, and second for sending image to the server.
2) In submit action i will check what button was clicked. When user
clicked submit button, form is saved. When user clicked sending image
button i will save this image on server and return whole form with
image added to the list.

Is it right way to do it? I don't want to play with javascript and
hidden fields. I want such functionality.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to