Closed (fixed)
Project:
Webform
Version:
6.x-3.4
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 14:46 UTC
Updated:
1 Mar 2011 at 01:01 UTC
Hi, I want to give a certain usergroup on my site the ability to create webforms.
However i wonder if its possible to have set value's
Like if they create a webform and they arrive on the second page (the one where you need to add the elements like textfields, date, etc) That these are automaticaly filled in for them.
For example that there already are 2 textfiels, a datefield and an upload field set for them (prenamed)
So they don't have to add those if they want to create a webform themselfs.
Is this possible? and if so, could someone please tell me how :).
Comments
Comment #1
quicksketchNo this is not possible through Webform normally. The only approach I'd recommend to solve this problem is to write a custom module that implements hook_form_alter() to manage setting the value in a "hidden" field. Webform PHP can do similar work for you, but I highly discourage its use.
Comment #2
Robberti commentedOk thank you for the reponse, ill see if i can get it to work.
Comment #3
quicksketch