in my website each manger(role) needs a webform, to get enquiries from users.. the webform which have created is for complete website...
how to do this...
in my website each manger(role) needs a webform, to get enquiries from users.. the webform which have created is for complete website...
how to do this...
It sounds like you should use the contact module in core drupal rather than a webform. You can turn it on, and configure permissions so that every manager can be contacted through that form.
If you need additional fields than what the contact form comes with, then a little work with hook_form_alter() should allow you to add additional fields.
Unless part of the requirements is to keep a record of each contact sent?
If you are not set on using Webform module, this could be a more complex, but suitable method for doing what you require.
It may be helpful to create a View which will list for each user the forms they have been sent, so that they can easily find them from one location.
You probably also want to set up a content access module so that not everybody can view the submitted forms. You will have to find one that suits your needs, but you should be able to set the content type to only be viewable by its recipient (and author, if necessary) or by certain roles (eg., all managers can see all requests)
thanks a lot i have done the same thing the only problem now i have is to the populate the fields with right content.
when the users sees one of the profile page or content created by the manager the recipient address should populate atomatically, i dono how do this.
can u give the summary how to do that..