Index: activism.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/activism/Attic/activism.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 activism.module
--- activism.module	11 May 2009 15:43:12 -0000	1.1.2.1
+++ activism.module	4 Feb 2010 19:26:27 -0000
@@ -382,7 +382,7 @@ function activism_campaign_cta_form(&$fo
 
   $form['activism_campaign']['activism_cta_destination'] = array(
     '#default_value'  => $node->activism_cta_destination,
-    '#description'    => t('If present, the URL (http://example.com/node/4) where the user will be redirected after taking the action.'),
+    '#description'    => t('If present, the URL (http://example.com/node/4) where the user will be redirected after taking the action. If added, <strong>the URL must start with http:// or it will not redirect properly.<strong>'),
     '#title'          => t('Destination URL'),
     '#type'           => 'textfield',
   );
@@ -408,6 +408,10 @@ function activism_campaign_cta_form_vali
   if (!empty($form_state['values']['activism_cta_goal']) && !is_numeric($form_state['values']['activism_cta_goal'])) {
     form_set_error('activism_cta_goal', t('Campaign goal must be a number.'));
   }
+
+  if (!empty($form_state['values']['activism_cta_destination']) && strpos($form_state['values']['activism_cta_destination'], 'http://') !== 0) {
+    form_set_error('activism_cta_destination', t('The destination must start with "http://" or be left blank.'));
+  }
 }
 
 /**
