Create unique form fields based on database query in Symfony 1.4/Doctrine 1.2?

See symfony-project.org/api/1_4/sfWidgetForm... and the query parameter - I use this a lot and it works fine To build a whole form dynamically is going to be difficult IMO - I think you need to define at least some rules so that you can display / hide certain form elements.

See symfony-project.org/api/1_4/sfWidgetForm... and the query parameter - I use this a lot and it works fine. To build a whole form dynamically is going to be difficult IMO - I think you need to define at least some rules so that you can display / hide certain form elements.

I've pasted what I did here: pastebin. Com/NrJeADAk If you have any ideas on improving that or are just curious, take a look! It works well, but... Seeing as it's a strange thing to do, solutions for handling output are also strange to say the least.It has been a weird project.

For what it's worth, Symfony 2 has a built in solution for this and it looks stellar. I can't wait to migrate this project to that. – Steve Adams Oct 11 at 17:56.

A functioning example of how I solved this problem can be found here: pastebin.com/NrJeADAk It works well. If your database describe your forms properly and consistently, you can even create new forms by submitting their descriptions via a form. I've done this for my team at work, and with very heavy validation on the fields, so far they haven't managed to create a single form that causes issues.

I'm a frequent SO user, so if you stumble across this and would like to know more, feel free to message me.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions