In brief, I’m attempting to determine methods to add a customized and distinctive identifier to every submission from Drupal Development Service Webform module.
Instance: Person fills out Drupal Development Service Webform and submits. Person then receives an e mail (e mail is captured from e mail subject in Webform) confirming their submission and offering them with a Distinctive Identifier (ABC-14-001).
I do know Webform asks what quantity to begin Drupal Development Service subsequent submission (and I am assuming that is thought-about Drupal Development Service “SID”). If I’m to make the most of Drupal Development Service SID, I would like to have the ability to append Drupal Development Service customized “ABC-14” prefix to every submission’s SID.
I am not very conversant in hooks (sorry for Drupal Development Service ignorance), however I perceive that hooks is perhaps Drupal Development Service solely means, or not less than simplest means, to perform this?
Replace Thanks all who responded! I’ve a working answer proper now with this module:
perform identifier_webform_submission_presave($node, &$submission) { $component_id = 23; //that is your hidden subject $submission->information[$component_id][0] = 'Textual content to be inserted'; }