Hi,

When using hook_form_alter, it is possible to supply a default value using '#default_value' to the form. I was looking to do the same in webforms. But I would like to use specific elements from the database instead of the provided tokens in the webform module. Is this possible to do? And if so, Can I write similar code to hook_form_alter and get this functionality working in a webform created form as well?

Thanks

Comments

quicksketch’s picture

Category: task » support
Status: Active » Closed (won't fix)

As mentioned in the submission guidelines, I don't provide help with custom coding:

Any issues regarding "how do I code ..." or "how do I theme ..." will not be answered. Please look elsewhere for coding resources.

Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.