Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about the Form API. Don't use it for entity or entity field forms.
1
vote
2
answers
30
views
What's the easiest way to add a contact form for all nodes of a certain content type?
I need to add a contact form to all nodes of a certain content type, so when a user submits the form it's delivered to the e-mail address of the author of the node. I tried using Webforms as a block w …
1
vote
What's the easiest way to add a contact form for all nodes of a certain content type?
I ended using Webforms, passing the node author's e-mail using the token [current-page:node:author:mail] for passing the e-mail via a hidden field. I enabled the option to use the webform as a block a …