Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
How to print the form created from webform.
It's something like a node form printed in the template( page.tpl.php or others) of drupal theme.
Link:
http://www.zyxware.com/articles/2941/solved-drupal-webform-drupal-get-fo...
https://www.drupal.org/node/233616
I tried these but it doesn't work.
Comments
Comment #2
aegirone CreditAttribution: aegirone commentedComment #3
kawal CreditAttribution: kawal as a volunteer commentedYou can do it using below code:
Comment #4
aegirone CreditAttribution: aegirone commented#3 Thx. It works well.
Comment #5
aegirone CreditAttribution: aegirone commentedComment #6
spiralarts CreditAttribution: spiralarts commentedHi I'm new to Drupal. How and where do I apply this code? Can you please give me some directions, please?
Thanks in advance.
Comment #7
aegirone CreditAttribution: aegirone commented#6
Templates in the theme of drupal 7.
If you need to output the form in some page , you should find the template( page.tpl.php or other files ended with .tpl.php ) and use these code.