Hey,

So it's quite straight forward when I need to generate HTML input tags
(textboxes and checkboxes etc) dynamically using javascript. All that needs
to be done is retrieve the amount of input tags that needs to be generaated
and then in a for loop in a javascript, they are simply called...

How can I do the same with symfony form tags, such as input_tag,
radiobutton_tag. UNderstandably these are server sides. So if I have the
user specify a certain number , and I need to generate the corresponding
amount of textboxes and checkboxes from it, and I wanna specifically make
use of symfony tags, how can I do it?

Essentially, I want the symfony equivalent of the following:

The following is a rough code, and gives an idea of what I am trying to
achieve.

for(var i = 1 ; i< some_number ; i++)
{
dynamicTopics.innerHTML =  <input type = 'textbox' id = 'topic " + i + " '
/>";
}

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to