validation

Fix for Fix for Drupal 6.9 Validating custom profile fields when user registers and when user edits custom profile fields

  1. // Hello, I am in Drupal 6.9 and want to validate custom profile fields when the user registers and when he edits his profile
  2. // this code is a module that attempt to do the validations, the code is

Fix for Fix for Drupal 6.9 Validating custom profile fields when user registers and when user edits custom profile fields

  1.  <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">// Hello, I am in Drupal 6.9 and want to validate custom profile fields

Fix for Views validation of a handler's displays

  1.     // We don't know which display we are on and so we must check them all.
  2.     dsm(array_keys($this->view->display));
  3.     // I get an array of THREE THINGS!

Views validation of a handler's displays

  1.     // We don't know which display we are on and so we must check them all.
  2.     dsm(array_keys($this->view->display));
  3.     // I get an array of THREE THINGS!

Fix for Drupal 6.9 Validating custom profile fields when user registers and when user edits custom profile fields

  1. // Hello, I am in Drupal 6.9 and want to validate custom profile fields when the user registers and when he edits his profile

Drupal 6.9 Validating custom profile fields when user registers and when user edits custom profile fields

  1. // Hello, I am in Drupal 6.9 and want to validate custom profile fields when the user registers and when he edits his profile

validation_api before code sprint

  1. <?php
  2. // $Id: validation_api.module,v 1.8 2008/07/02 23:02:43 tapocol Exp $
  3.  
  4. /**
  5.  * @file
  6.  */
  7.  
  8. define('HOOK_ADD_VALIDATOR', 'add_validator');
  9.  
  10. /**
  11.  * Implementation of hook_form_alter().

hook_nodeapi used for validation of CCK fields

  1. <?php
  2. function sitehelper_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
  3.    if($node->type == 'cinfo') {
  4.       switch ($op) {
  5.          case 'update':
  6.          break;
Syndicate content