Comparison of Form Building Modules

Drupal has a lot of modules aimed at helping site builders and users add forms to their sites. What follows is a rough comparison of three of them for Drupal 8 and five of them for Drupal 7. Please add any missed or new information about the ones listed.

Adding an HTML 5 placeholder attribute to a webform component in a theme

An HTML 5 placeholder attribute is added to a theme by using a preprocess hook. This example is for an e-mail component:

Current Node Email field token

setup token

use the token custom module to create a new custom token with name "nodeemail" of TYPE: custom

and use php filter with following code

if(arg(0)!="node")
return "not viewing a node";

$node = node_load(arg(1));
return $node->field_email['und'][0]['email'];

now wherever you have tokens available you can use [custom:nodeemail]

Drupal 6 - Secure a Webform with SSL in mixed-mode while maintaining a positive user experience

Securing a webform is easy using a module such as Session 443 or Secure Pages but what about scenarios where a user abandons the form and browses the site using the primary or secondary menu. If you don't have the menu interaction planned out correctly they could end up receiving insecure content warnings and may even abandon the site altogether. Another scenario is when a user submits the form, do they continue to a confirmation page in SSL mode? This too can create problems with the user receiving insecure content warnings. Drupal's API makes it possible for UX professionals to create the best user experience. So below are a couple snippets for Drupal 6 that will solve these specific use cases with no additional modules. These snippets assume you have secured your webform with Session 443 or Secure Pages modules but theirs no dependencies on either.

First lets look at the first function that will alter the primary menu links. This function is called "THEME_NAME_menu_item_link($link)" and needs to be placed in "template.php" in your theme folder. Replace THEME_NAME with the name of your theme. This function defines the navigation menus, and route page requests to code based on URLs.

<?php
function THEME_NAME_menu_item_link($link) {
global $base_path;

Webform Layout (Spanish Vídeo)

Módulo Webform Layout , añade la funcionalidad de alinear los campos de webform horizontalmente y guarda compatibilidad con el resto de funciones.

https://vimeo.com/49686417

Using Webform CiviCRM Integration 3

Introduction

These instructions assume you already know how to use CiviCRM and the Drupal Webform module. Read those manuals first.
This module leverages Webform, Drupal and CiviCRM to create a smart form builder and processor that can work with a wide variety of CRM data. CiviCRM Webforms can create and update information about contacts, relationships, cases, activities, event participants, group subscriptions, tags, and custom data.

Getting Started

  • Download and enable this module, plus its dependencies: CiviCRM, Webform, and Libraries.
  • Download jQuery TokenInput and extract as the folder "sites/all/libraries/tokeninput" (or another location permitted by the libraries module).
  • Create a new webform (or go to edit an existing one).
  • Click on the CiviCRM tab.
  • Enable the fields you like, and optionally choose introduction text and other settings.
  • Customize the webform settings for your new fields however you wish.

Upgrading to Version 3

Pages

Subscribe with RSS Subscribe to RSS - webform