Closed (fixed)
Project:
Webform Calculator
Version:
7.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2014 at 23:56 UTC
Updated:
1 Feb 2017 at 23:04 UTC
Jump to comment: Most recent
Comments
Comment #1
Snehal Brahmbhatt commentedHi,
You have to use
hook_webform_submission_presave()to set default value of form element.Create custom module and place following code into your custom module file. Check its working fine.
Let me know if you face any further query/concern regarding this.
Thanks,
Snehal Brahmbhatt | AddWeb Solution
https://www.drupal.org/user/3147795/track
Comment #2
colemanw commented