I am wondering if there is a way to create a Drupal form on the fly with javascript? I know I can create a form, but how could I create all the Drupal hidden fields and other required pieces?
Or if this is even possible?
I am wondering if there is a way to create a Drupal form on the fly with javascript? I know I can create a form, but how could I create all the Drupal hidden fields and other required pieces? Or if this is even possible? |
|||
closed as too broad by Mołot, Free Radical, kiamlaluno♦ Jul 9 at 8:35There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question. |
|||
Drupal.attachBehaviors()
after the AJAX call - problem solved – Clive♦ Jun 12 at 11:22