Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Rosamunda on
Please I need help! I´ve paid a banner and my contact form at my site is not working!
I´ve tried this form, but it is not sending anything:
<?php
/* website feedback form */
function user_form() {
if (!isset($_POST['name'])) $_POST['name'] = '';
if (!isset($_POST['email'])) $_POST['email'] = '';
//if (!isset($_POST['age'])) $_POST['age'] = '';
if (!isset($_POST['location'])) $_POST['location'] = '';
if (!isset($_POST['comments'])) $_POST['comments'] = '';
echo '<table width="400"><tr><td><p><b>ADHIERO AL MOVIMIENTO ARGENTINO DE DEFENSA DEL CONSORCISTA COMPLETANDO EL SIGUIENTE FORMULARIO.</b></p></td></tr></table>';
// make this the URL to *this* script
echo '<form action=http://www.consorciosonline.org/marco/node/9 method="post">';
echo '<table border="0" cellspacing="4" cellpadding="0">';
echo '<tr><td>Nombre Completo:</td><td><input type="text" size="33" name="nombre" value="'.htmlspecialchars($_POST['nombre']).'"> <font size="1" color="#CC0000">*</font></td></tr>';
echo '<tr><td>Tipo y Número de Documento:</td><td><input type="text" size="33" name="documento" value="'.htmlspecialchars($_POST['documento']).'"> <font size="1" color="#CC0000">*</font></td></tr>';
echo '<tr><td>Email:</td><td><input type="text" size="33" name="email" value="'.htmlspecialchars($_POST['email']).'"> <font size="1" color="#CC0000">*</font></td></tr>';
echo '<tr><td>Teléfono:</td><td><input type="text" size="33" name="telefono" value="'.htmlspecialchars($_POST['telefono']).'"></td></tr>';
echo '<tr><td>Domicilio:</td><td><input type="text" size="33" name="domicilio" value="'.htmlspecialchars($_POST['domicilio']).'"></td></tr>';
echo '<tr><td>Localidad / Provincia:</td><td><input type="text" size="33" name="provincia" value="'.htmlspecialchars($_POST['provincia']).'"></td></tr>';
echo '<tr><td>Profesión / Actividad:</td><td><input type="text" size="33" name="ocupacion" value="'.htmlspecialchars($_POST['ocupacion']).'"></td></tr>';
echo '<tr><td valign="top">Comentarios:</td><td><textarea name="comments" rows="5" cols="27"></textarea></td></tr>';
echo '<tr><td colspan="2" align="right"><input type="submit" value="CLICKEE AQUI PARA ADHERIRSE AL MOVIMIENTO" name="submit"></td></tr>';
echo '</table>';
echo '</form>';
}
// has the form been submitted?
if (isset($_POST['submit'])) {
// the form has been submitted
// perform data checks.
$error_str = ''; // initialise $error_str as empty
if (empty($_POST['nombre'])) $error_str .= '<li>No ha ingresado su nombre.</li>';
if (!empty($_POST['email']) && !validate_email($_POST['email']))$error_str .= '<li>No ha ingresado una dirección de email válida.</li>';
if (empty($_POST['email'])) $error_str .= '<li>No ha ingresado su email.</li>';
// more checks
if (strlen($_POST['nombre']) < 2 && !empty($_POST['nombre'])) $error_str .= '<li>Su nombre debe tener más de una letra.</li>';
if (strlen($_POST['documento']) < 2 && !empty($_POST['documento'])) $error_str .= '<li>Su documento debe contener más de un número.</li>';
if (!empty($error_str)) {
// errors have occured, halt execution and show form again.
echo '<p>No se ha podido enviar aún su adhesión debido a los siguientes errores:</p>';
echo '<ul>'.$error_str.'</ul>';
// show form again
user_form();
}
else
{
process_form();
}
} else {
// the form has not been submitted, let's show it
user_form();
}
function validate_phone ($phone)
{
$phone = trim($phone);
$phone = eregi_replace("(\(|\)|\-|\+)","",$phone);
if (!is_numeric($phone)) return false;
if ( (strlen($phone)) < 7) return false;
if ( (strlen($phone)) > 13) return false;
return true;
}
function validate_email ($email)
{
if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email))return false;
return true;
}
function process_form()
{
$nombre = $_POST['nombre'];
$documento = $_POST['documento'];
$telefono = $_POST['telefono'];
$email = $_POST['email'];
$telefono = $_POST['telefono'];
$domicilio = $_POST['domicilio'];
$provincia = $_POST['provincia'];
$ocupacion = $_POST['ocupacion'];
$comments = $_POST['comments'];
$subject = "SI, ADHIERO AL MOVIMIENTO DE DEFENSA DEL CONSORCISTA";
$message = "Nombre: $nombre\nDocumento: $documento\nEmail: $email\nTelefono: $telefono\nDomicilio: $domicilio\nLocalidad/Provincia: $provincia\nProfesion/Actividad: $ocupacion\nComentarios: $comments\n";
$extra = "From: $nombre $documento\r\nReply-To: $email\r\n";
mail ('info@consorcistas.org', $subject, $message, $extra);
echo '<p><font color="blue" size="2"><b>Su Adhesión ha sido enviada exitosamente</b></font><br /> <br /> <br /> <br>[ <a href="http://www.consorcistas.org">Volver a Inicio</a> ]</p>[ <a href="mailto:rosamunda@gmail.com">Envíenos un Email</a> ]</p><p> </p><p> </p>';
}
?>
I´m trying to add the feedback form, but there´s a problem: I don´t want to add a verification in any field... and I don´t know how to modify the module code!
Thanks for your help!!!!!
Rosamunda
Feedback Form Code
<?php
//$Id: feedback.module,v 1.51 2006/03/27 01:11:36 kbahey Exp $
// Copyright 2004-2005 Khalid Baheyeldin http://2bits.com
function feedback_help ($section = 'admin/help#feedback') {
$output = '';
switch($section) {
case 'admin/help#feedback':
$output .= t("
<p>Users with the correct <a href=\"%permissions\">permissions</a> can send feedback
to the site admin via email from a form on the site.</p>
<p>To enable its use, a user needs the \"access feedback\" permission.</p>
<p>The site admin specifies the email address that the users send to, as well as other
parameters, such as what fields to show the user to fill (name, address, email), whether
the user address is to be validated, and whether to log all attempts to use this form.</p>
<p>The email address is never visible to the users, and therefore cannot be used by SPAM
harvesters.</p>",
array("%permissions" => url("admin/user/permission"), "%feedback" => url("feedback")));
break;
case 'admin/modules#description':
$output = t("Enables visitors to your site to provide feedback from a web form.");
break;
}
return $output;
}
function feedback_perm() {
return array ('can send feedback');
}
function feedback_menu($may_cache) {
global $user;
$items = array();
$access = user_access('can send feedback');
$title = variable_get("feedback_nav_link", "feedback");
if ($may_cache) {
$items[] = array(
'path' => 'feedback',
'callback' => 'feedback_page',
'title' => $title,
'access' => $access,
'weight' => 0);
}
return $items;
}
function feedback_link($type, $node = 0, $main = 0) {
global $user;
$links = array();
if ($type == 'page' && user_access('can send feedback')) {
$links[] = l(t('feedback'), 'feedback');
}
return $links;
}
function feedback_settings() {
$form['feedback_email'] = array (
'#type' => 'textfield',
'#title' => t('Default Email Address'),
'#default_value' => _feedback_get_to_email(),
'#size' => 80,
'#maxlength' => 300,
'#description' => t('The email address which should receive all form submissions'),
);
$form['feedback_nav_link'] = array (
'#type' => 'textfield',
'#title' => t('Navigation link text'),
'#default_value' => variable_get('feedback_nav_link', 'feedback'),
'#size' => '80',
'#maxlength' => '300',
'#description' => t('The text that will be shown in the navigation link'),
);
$form['feedback_pageheader'] = array (
'#type' => 'textfield',
'#title' => t('Feedback Page Header'),
'#default_value' => variable_get('feedback_pageheader', 'Use this form to send us feedback'),
'#size' => '80',
'#maxlength' => '300',
'#description' => t('The page header text that will be shown at the top of the feedback page'),
);
$form['feedback_subject_prefix'] = array (
'#type' => 'textfield',
'#title' => t('Subject Prefix'),
'#default_value' => variable_get('feedback_subject_prefix', 'Feedback: '),
'#size' => '80',
'#maxlength' => '80',
'#description' => t('The prefix that should be added before the subject on each email'),
);
$form['feedback_instructions'] = array (
'#type' => 'textarea',
'#title' => t('Instructions'),
'#default_value' => variable_get('feedback_instructions', 'Enter your message below: '),
'#cols' => '60',
'#rows' => '10',
'#description' => t('The instructions that will be displayed for the user on how to fill the form'),
);
$form['feedback_rmsg_success'] = array (
'#type' => 'textfield',
'#title' => t('Result Message - Success'),
'#default_value' => variable_get('feedback_rmsg_success', 'Thank you for your message.'),
'#size' => '80',
'#maxlength' => '80',
'#description' => t('The message that will be printed upon successfully completing the feedback request'),
);
$form['feedback_rmsg_failure'] = array (
'#type' => 'textfield',
'#title' => t('Result Message - Failure'),
'#default_value' => variable_get('feedback_rmsg_failure', 'There are errors in your form.'),
'#size' => '80',
'#maxlength' => '80',
'#description' => t('The message that will be printed upon encountering an error in the feedback request'),
);
$form['feedback_fields'] = array (
'#type' => 'fieldset',
'#title' => t('Fields to include on the form:'),
'#tree' => FALSE,
);
$form['feedback_fields']['feedback_field_email'] = array (
'#type' => 'checkbox',
'#title' => t('Sender Email Address'),
'#default_value' => variable_get('feedback_field_email', '1'),
);
$form['feedback_fields']['feedback_field_name'] = array (
'#type' => 'checkbox',
'#title' => t('Sender Name'),
'#default_value' => variable_get('feedback_field_name', '1'),
);
$form['feedback_fields']['feedback_field_postal'] = array (
'#type' => 'checkbox',
'#title' => t('Postal Address'),
'#default_value' => variable_get('feedback_field_postal', '0'),
);
$form['feedback_fields']['feedback_field_phone'] = array (
'#type' => 'checkbox',
'#title' => t('Phone Number'),
'#default_value' => variable_get('feedback_field_phone', '0'),
);
$form['feedback_fields']['feedback_field_subject'] = array (
'#type' => 'checkbox',
'#title' => t('Message Subject'),
'#default_value' => variable_get('feedback_field_subject', '1'),
);
$form['feedback_fields']['feedback_field_body'] = array (
'#type' => 'checkbox',
'#title' => t('Message Body'),
'#default_value' => variable_get('feedback_field_body', '1'),
);
$form['miscellaneous_settings'] = array (
'#type' => 'fieldset',
'#title' => t('Miscellaneous Settings:'),
'#tree' => FALSE,
);
$form['miscellaneous_settings']['feedback_validate_sender_address'] = array (
'#type' => 'checkbox',
'#title' => t('Validate Sender\'s Email Address'),
'#default_value' => variable_get('feedback_validate_sender_address', '0'),
);
$form['miscellaneous_settings']['feedback_logging'] = array (
'#type' => 'checkbox',
'#title' => t('Log all feedback attempts to watchdog'),
'#default_value' => variable_get('feedback_logging', '1'),
);
return $form;
}
function feedback_page() {
$edit = $_POST["edit"];
$op = arg(1);
// Set breadcrumbs
$breadcrumb = array(array('path' => 'feedback'));
menu_set_location($breadcrumb);
if ($edit) {
if ( variable_get("feedback_logging", "1") ) {
feedback_watchdog_log();
}
feedback_validate_data();
if (form_get_errors()) {
$form = feedback_display_form() ;
print theme("page", $form);
}
else {
feedback_send_email();
drupal_set_message(variable_get("feedback_rmsg_success", "Thank you for your message"));
drupal_goto(); // Go to home page
}
}
else {
$form = feedback_display_form () ;
print theme("page", $form);
}
}
function feedback_send_email() {
$edit = $_POST["edit"];
$subject_prefix = variable_get("feedback_subject_prefix", "");
$subject = $subject_prefix . " " . $edit["form_field_subject"] ;
$from_email = $edit["form_field_email"] ? $edit["form_field_email"] : _feedback_get_to_email();
$to = _feedback_get_to_email();
$body = feedback_format_body($edit["form_field_body"]) . feedback_custom_footers();
$headers = feedback_custom_headers();
if ($to) {
user_mail($to, $subject, $body, $headers);
$rc = true;
}
else {
$rc = false;
}
return $rc;
}
function _feedback_get_to_email() {
return variable_get('feedback_email', variable_get('site_mail', ini_get('sendmail_from')));
}
function feedback_display_form () {
global $user;
$edit = $_POST["edit"];
// Assign default values to some form fields while making sure the field
// content is preserved after errors
if (!$edit['form_field_name'] && $user->name) {
$edit['form_field_name'] = $user->name;
}
if (!$edit['form_field_email'] && $user->mail) {
$edit['form_field_email'] = $user->mail;
}
if (variable_get("feedback_pageheader", "")) {
$title .= variable_get("feedback_pageheader", "");
}
$instructions = variable_get("feedback_instructions", "");
if ($instructions) {
$message .= $instructions;
}
else {
$message .= t("Enter your message below:");
}
if ( variable_get("feedback_field_name", t('Name')) )
$form['form_field_name'] = array (
'#type' => 'textfield',
'#title' => t('Nombre Completo'),
'#default_value' => $edit['form_field_name'],
'#size' => '60',
'#maxlength' => '64',
);
if ( variable_get("feedback_field_email", t('Email Address')) )
$form['form_field_email'] = array (
'#type' => 'textfield',
'#title' => t('Email'),
'#default_value' => $edit['form_field_email'],
'#size' => '60',
'#maxlength' => '64',
);
if ( variable_get("feedback_field_postal", t('Postal Address')) )
$form['form_field_postal'] = array (
'#type' => 'textfield',
'#title' => t('Domicilio (incluyendo Localidad y Provincia)'),
'#default_value' => $edit['form_field_postal'],
'#size' => '60',
'#maxlength' => '64',
);
if ( variable_get("feedback_field_phone", t('Documento')) )
$form['form_field_phone'] = array (
'#type' => 'textfield',
'#title' => t('Documento'),
'#default_value' => $edit['form_field_phone'],
'#size' => '60',
'#maxlength' => '64',
);
if ( variable_get("feedback_field_subject", t('Comentarios')) )
$form['form_field_subject'] = array (
'#type' => 'textfield',
'#title' => t('Comentarios'),
'#default_value' => $edit['form_field_subject'],
'#size' => '60',
'#maxlength' => '64',
);
if ( variable_get("feedback_field_body", t('Adhiero al Movimiento Argentino de Defensa del Consorcista')) )
$form['form_field_body'] = array (
'#type' => 'textfield',
'#title' => t('Profesion / Actividad'),
'#default_value' => $edit['form_field_body'],
'#size' => '60',
'#maxlength' => '64',
);
$form['form_field_referer'] = array (
'#type' => 'hidden',
'#value' => $_SERVER[HTTP_REFERER],
);
$form['submit'] = array (
'#type' => 'submit',
'#value' => t('CLICKEE AQUI PARA ADHERIRSE AL MOVIMIENTO'),
);
// $output .= $message . form($form, "post");
// if ($title) {
// $output = theme("box", $title, $output);
// }
$output .= drupal_get_form('', $form);
return $output;
}
function feedback_watchdog_log() {
$edit = $_POST["edit"];
$name = $edit["form_field_name"];
$email = $edit["form_field_email"];
$subj = $edit["form_field_subject"];
$message = 'feedback: ' . $name . ' <' . $email . '> subject: ' . $subj;
watchdog ( "user", check_plain($message));
}
function feedback_validate_data() {
global $user;
$edit = $_POST["edit"];
$name = $edit["form_field_name"] ;
$email = $edit["form_field_email"] ;
$subject = $edit["form_field_subject"] ;
$body = $edit["form_field_body"] ;
$postal = $edit["form_field_postal"] ;
$phone = $edit["form_field_phone"] ;
$referer = $edit["form_field_referer"] ;
if (!strlen(trim($name)) && variable_get("feedback_field_name", "") ) {
form_set_error('form_field_name', t('Please enter your full name'));
}
elseif (feedback_check_exploit($name)) {
form_set_error('form_field_name', t("Invalid data in name"));
}
if (!strlen(trim($email)) && variable_get ("feedback_field_email", "") ) {
form_set_error('form_field_email', t('Please enter your e-mail address'));
}
else {
$smtp_err = feedback_validate_email ($email);
if ($smtp_err) {
form_set_error('form_field_email', $smtp_err);
}
elseif (feedback_check_exploit($email)) {
form_set_error('form_field_email', t("Invalid data in e-mail address"));
}
}
if (!strlen(trim($subject)) && variable_get ("feedback_field_subject", "") ) {
form_set_error('form_field_subject', t('Please enter a subject'));
}
elseif (feedback_check_exploit($subject)) {
form_set_error('form_field_subject', t("Invalid data in subject"));
}
// Note: The body does not need to be checked for exploits because it is
// treated as text (RFC 822).
if (!strlen(trim($body)) && variable_get ("feedback_field_body", "") ) {
form_set_error('form_field_body', t('Please enter your message'));
}
if (!strlen(trim($postal)) && variable_get ("feedback_field_postal", "") ) {
form_set_error('form_field_postal', t('Please enter your postal address'));
}
elseif (feedback_check_exploit($postal)) {
form_set_error('form_field_postal', t("Invalid data in postal address"));
}
if (!strlen(trim($phone)) && variable_get ("feedback_field_phone", "") ) {
form_set_error('form_field_phone', t('Please enter your phone number'));
}
elseif (feedback_check_exploit($phone)) {
form_set_error('form_field_phone', t("Invalid data in phone number"));
}
if (feedback_check_exploit($referer)) {
form_set_error('referer', t("Invalid data in referer"));
}
}
function feedback_check_exploit($data) {
$bad_strings = array (
'To:',
'Cc:',
'Bcc:',
'Content-Type:',
'MIME-Version:',
'Content-Transfer-Encoding:');
foreach($bad_strings as $str) {
if (stristr($data, $str)) {
watchdog ('user', t('Attempt to relay spam using %str. Field is %data',
array('str'=>$str, 'data'=>$data)));
return true;
}
}
return false;
}
function feedback_validate_email($email) {
if (valid_email_address($email)) {
// It looks like a valid email address
if ( variable_get ("feedback_validate_sender_address", "") ) {
$rc = feedback_try_to_feedback_address ( $email );
}
else {
$rc = "";
}
}
else {
$rc = t("Invalid E-mail address structure");
}
return $rc;
}
function feedback_try_to_feedback_address($email) {
// This function is based on one that was written by
// Jon S. Stevens jon AT clearink.com
// Copyright 1998 Jon S. Stevens, Clear Ink
// This code has all the normal disclaimers.
// It is free for any use, just keep the credits intact.
$server_name = $_SERVER['SERVER_NAME'];
$rc = "Undefined error";
list ( $user, $domain ) = split ( "@", $email, 2 );
$arr = explode ( ".", $domain );
$count = count ( $arr );
$tld = $arr[$count - 2] . "." . $arr[$count - 1];
if ( !$tld ) {
$rc = "Error: Invalid domain part in e-mail";
return $rc;
}
if ( checkdnsrr ( $tld, "MX" ) ) {
if ( getmxrr ( $tld, $mxhosts, $weight ) ) {
for ( $i = 0; $i < count ( $mxhosts ); $i++ ) {
$fp = fsockopen ( $mxhosts[$i], 25 );
if ( $fp ) {
$s = 0;
$c = 0;
$out = "";
set_socket_blocking ( $fp, false );
do {
$out = fgets ( $fp, 2500 );
if ( ereg ( "^220", $out ) ) {
$s = 0;
$out = "";
$c++;
}
else
if ( ( $c > 0 ) && ( $out == "" ) ) {
break;
}
else {
$s++;
}
if ( $s == 9999 ) {
break;
}
} while ( $out == "" );
set_socket_blocking ( $fp, true );
fputs ( $fp, "HELO $server_name\n" );
$output = fgets ( $fp, 2000 );
fputs ( $fp, "MAIL FROM: <info@" . $tld . ">\n" );
$output = fgets ( $fp, 2000 );
fputs ( $fp, "RCPT TO: <$email>\n" );
$output = fgets ( $fp, 2000 );
if ( ereg ( "^250", $output ) ) {
$rc = "";
}
else {
$rc = $output;
}
fputs ( $fp, "QUIT\n" );
fclose( $fp );
if ($rc == "") {
break;
}
}
}
}
}
return $rc;
}
function feedback_custom_footers() {
global $user;
$edit = $_POST["edit"];
$site_name = variable_get("site_name", "") ;
if ( $site_name )
$footer .= "\nSite Name : " . variable_get("site_name", "") ;
if ( $user->name )
$footer .= "\nRegistered name : " . $user->name;
if ( isset($edit['form_field_name']))
$footer .= "\nFull Name : " . $edit['form_field_name'];
if ( isset($edit['form_field_email']))
$footer .= "\nE-mail address : " . $edit['form_field_email'];
if ( isset($edit['form_field_postal']))
$footer .= "\nPostal address : " . $edit['form_field_postal'];
if ( isset($edit['form_field_phone']))
$footer .= "\nPhone Number : " . $edit['form_field_phone'];
if ( isset($edit['form_field_referer']))
$footer .= "\nReferring page : " . $edit['form_field_referer'];
if ( isset($_SERVER['REMOTE_ADDR']))
$footer .= "\nIP Address : " . 'http://whois.sc/' . $_SERVER['REMOTE_ADDR'];
if ( isset($_SERVER['REMOTE_HOST']))
$footer .= "\nMachine name : " . $_SERVER['REMOTE_HOST'];
if ( isset($_SERVER['HTTP_USER_AGENT']))
$footer .= "\nBrowser info : " . $_SERVER['HTTP_USER_AGENT'];
if ( isset($edit['feedback_field_body']))
$footer .= "\nAdhiere al Movimiento Argentino de Defensa del Consorcista? : " . $edit['form_field_body'];
return $footer;
}
function feedback_custom_headers() {
$edit = $_POST["edit"];
$headers = "";
$headers .= "From: " . $edit['form_field_email'] . "\r\n";
$headers .= "Reply-To: " . $edit['form_field_email']. "\r\n";
$headers .= "Return-Path: " . $edit['form_field_email']. "\r\n";
$headers .= "Errors-To: " . $edit['form_field_email'] . "\r\n";
$headers .= "X-Mailer: Drupal\r\n";
return $headers;
}
function feedback_format_body($body) {
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$output = wordwrap(strip_tags($body),72);
$output = strtr(wordwrap(strip_tags($output),72), $trans);
$output .= t("\n\n-- ADHIERO AL MOVIMIENTO - MIS DATOS PERSONALES SON LOS SIGUIENTES: --");
return $output;
}
?>
Comments
I'm pretty sure the solution
I'm pretty sure the solution involves an increased use of caps lock and explamation points ;)
I'm not sure what the code is that you've pasted here. My recommendation would be to use flexinode to create the questionnaire that you desire and then use subscription module to email the results to the proper user.
--
Growing Venture Solutions
Drupal Implementation and Support in Denver, CO
--
Morris Animal Foundation
Um?
You expect people here to sift through your miles long code and solve your problem for you?
No amount of exclamation marks and uppercase letters is going to help with that. Even if it is URGENNTTTT!!!!!!!.
--
If you have a problem, please search before posting a question.
Don't modify module code
It's typically not a good idea to modify module code. When a new version comes out fixing bugs and adding features, your custom hacked module won't be easy to upgrade.
Anyway, all things considered I'm going to make a pitch for the webform module, since I'm on that team ;). It's not yet marked for 4.7 on the modules pages, but you can still download a 4.7 version at http://drupal.org/node/7404/release.
can you show me how to create a new webform?
if you don't modify module code, can you show me how to create a new webform ?
Install the webform module
Install the webform module (from the link above). Add user access to create webforms at http://yourdrupalsite.com/admin/access. In the sidebar theres a new item under "create content" for "webform" nodes.
Create the new webform, adding custom fields using the provided form. You'll probably make fields like: subject, name, email, and message. Subject and name will be a textfield type. Email will be a email type. Message will be a textarea type.
It's fairly straightforward. Download the module and try it out.
That was my advice to you:
That was my advice to you: use flexinode or survey or profile or CCK - they are modules designed to create new forms for you.
--
Growing Venture Solutions
Drupal Implementation and Support in Denver, CO
--
Morris Animal Foundation
Thanks!!!!!
Thanks to you quicksketch and greggles that took pity on me and told me something useful :-)
Steven... that were a rude answer to a fellow that´s in disgrace... very unkind indeed.
But I must admit that I shouldn´t have posted the subject in so... a desperate manner... nor should I´ve posted the entire code... (damn! I hate to admit that!)
But my neck was in a very... risky position, as my boss have paid to an announcement of the webpage... and he´ve found that the form didn´t worked! It was a moment that I definately want to forget!! I was desperate indeed.
Anyway, I´m gonna try those tips, since I have to solve the case for now with a third party form, and it looks a bit weird on my site... sorry to bother you guys, but I´m not a programmer... and a newbie here...
Thanks again!
Rosamunda
ps. And YES... I like to use exclamation signs... ;-)