webform

Fix for Fix for Drupal Ajax Submit with Web Forms

  1. <?php # put this in additional validation inside your form...  and you can submit via AJAX!

webform additional processing

  1. <?php
  2. $node->webform['confirmation'] = 'http://' . $_SERVER['HTTP_HOST'] . base_path() . 'node/' . $form_values['submitted_tree']['brochure_requested'];
  3. ?>

trying to make my webform_redirect module use hook_form_alter

  1. function webform_redirect_form_alter(&$form, &$form_state, $form_id) {
  2.         switch ($form_id) {
  3.         case 'webform_client_form_1':
  4.                 //$output .= dsm($form);
  5.                 //drupal_set_message("Form values:<pre>" .

Re:

  1. People have a lot of important deals but in spite of of it they still have to accomplish the summary essay.

Fix for Fix for Drupal Ajax Submit with Web Forms

  1. <?php # put this in additional validation inside your form...  and you can submit via AJAX!

Fix for Fix for Drupal Ajax Submit with Web Forms

  1. <?php # put this in additional validation inside your form...  and you can submit via AJAX!

Fix for Fix for Drupal Ajax Submit with Web Forms

  1. <?php # put this in additional validation inside your form...  and you can submit via AJAX!

VotingAPI + Webform exhibit ranking SQL

  1. SELECT n.nid, (vaa.value*vac.value)+((SELECT count(wsd.DATA) FROM {webform_submitted_data} wsd WHERE wsd.DATA = n.nid AND wsd.cid = 6)*200) AS total
  2.     FROM node n
  3.     LEFT JOIN {votingapi_cache} vaa ON n.nid = vaa.content_id
  4.     LEFT JOIN {votingapi_cache} vac ON vaa.content_id = vac.content_id
  5.     LEFT JOIN {page_title} pt ON n.nid = pt.id
  6.     WHERE n.type = 'exhibit' AND n.LANGUAGE = 'en' AND vaa.FUNCTION = 'average' AND vac.FUNCTION = 'count' AND pt.type = 'node'
  7.     ORDER BY total DESC, pt.page_title ASC

webform themed output weirdness

  1.       foreach ($submission->data as $cid => $component_data) {
  2.         $component = $components[$webform_nid][$cid];
  3.         $label     = $components[$webform_nid][$cid]['name'];
  4.         // Hijack

Make webform 'description' field wysiwyg

  1. function <module>_form_alter(&$form, $form_state, $form_id) {
  2.   if ($form_id == "webform_node_form") {
  3.     $form['webform']['settings']['body_format'] = array(
  4.       '#type' => 'fieldset',
  5.       '
Syndicate content