Each in each with a form inside


#1

Hi,

i have a list of values and each value have some child

1
  1.1
      1.1.1
  1.2   

i display this with a recursive template, that works fine
i have under each category a form to add a new categorie. that works too.

1
      1.1
          1.1.1
           form
      1.2
      form 
form

now i have the problem when i add a new category in 1.x or 1.x.x, it not only add one category but add a category for each level.

1
          1.1
              1.1.1
              1.1.2
              1.1.2
              form
          1.2
          form 
    form

as I say that it is going to do once?

thanks for help


#2

i have found the solution i this post:

sorry for double post