Permalink

Hi, i am using webform 6.x-3.11 (the last version of this great drupal module).
And i am working in projects and it´s necessary that a grid can be created dinamically from the options of other grid.

I explain I have a grid with 10 files for example with car brands (renault, opel, fiat, peugeot...) and in the columns i have two values (yes, no).

I want to create a new grid dinamically with the options that have been choosen in the first grid like "yes". I mean if i choose "renault" and "peugeot" like "yes" in the first grid, in the second i would have two files (renault, peugeot) with 5 columns (with vlues from 1 to 5)

It's not a solution to have hidden grids and show them, because the posible grids number would be 10! and for that is necessary to do it dinamically.

¿is it possible to do it? I am very confused and lost.
I dont know if its possible to do it in the same page, or that the first grid is in the first page, and the second grid in other page.

I am trying to create a new module, and i am trying to recover from database the values from the first grid, but i dont know why it doesnt work, i would need the files in which i have to do changes, how, and which hooks i need to alter to do it.

Thank you very much!!!

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.