Hi there!
I´ve been playing around with Contact Form and Feedback modules.
Both are terrific. In special contact form, that is pretty versatile.

My problem here is that I need several forms with vary different purposes.

Form Nº 1: Meant to future students of our online courses to complete their personal sheet.
Name:
Address:
Phone:
Email:
[checkbox] Did you pay the fee?
In case YES: When
Where
Payment Method

Form Nº 2: Meant for people who want s to make a reservation to our free courses:
Name:
Email:
[checkbox] Yes, I want to make a reservation for Monday 7th, 11 am.

Etc...

I´ve tried the Ecommerce module, but it has a LOT of features that I don´t need... I mean... it is "too much".
I couldn´t get how to hack Forms module to get this working
The other option is to create a php form manually...

Any thoughts?

Comments

dublin drupaller’s picture

The ecommerce modules are superb...and very comprehensive..but I think there is scope for a simple registration.module that allows you to create a registration-based-product.

Whether it's for a conference, class, course, whatever...

I was looking for similar functionality recently and the workaround is to create a ticket-style product - where extra fields on the profile module act as the "registration" element.

not sure if that makes sense..but, in other words you select "appear on registration page" for your profile.fields (set on administer->settings->profiles) and get users to register for the site before buying a "ticket"..which is a standard ecommerce product.

I hope that makes sense Roseamunda...bottom line is I haven't seen a suitable or similar registration.module for the ecommerce suite yet. Perhaps other Drupallers faced with a similar challenge could chip in on how they did it. The way I've outlined it has a "break" in the workflow, compared to normal routines..i.e. the person has to leave the site, check their email and then login mid-way through the shopping process...instead of what should happen, i.e. person registers, buys and then receives their login details.

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

Rosamunda’s picture

But I´ll certainly need to wait until someone put that thoughts into a module... As I´m not a programmer, I could be forever... and I wouldn´t know even where to begin.

So, until that happens, I thought of doing this:
Creating a form in .php and putting it into the root directory.
This form would call a php file that would make the sending.
I´ve put the link to the form, that opens in a new window, in my pages.

The form is sent, but without any content!

This is the form code: (summary)

<form method="post" action="form_inscr_curso.php">
<h2>Seleccione un Curso</h2>
<INPUT TYPE="radio" NAME="Suscr" VALUE="Presencial_nivel_1">
Curso Presencial <br>
<INPUT TYPE="radio" NAME="Suscr" VALUE="On_Line">
Curso On Line 
<br>

<h2>Sírvase Completar su Legajo</h2>
Apellido  <INPUT TYPE="text" NAME="apellido" SIZE=20><br>
Nombres  <INPUT TYPE="text" NAME="nombres" SIZE=20><br>
Tipo y Nº de Documento <INPUT TYPE="text" NAME="documento" SIZE=20><br>
....
<input type="submit" name="submit" value=" INSCRIBIRSE AL CURSO ">
</form>

And this is the form_insc_curso.php file:

<?php 
mail ('victorialoisi@gmail.com', 
'INSCRIPCION CURSO', 
"
Tipo de Curso: $Suscr
Apellido: $apellido
Nombres: $nombres
Documento: $documento
"); 
?> 
<meta http-equiv="refresh" content="5;URL=http://www.example.com"> 
<h1><font color="blue">
Wait a moment please...
</font>
</h1> 

And this is what I´ve received:

Tipo de Curso:
Apellido:
Nombres:
Documento:

I´ve used this form in a simple php webpage that I have (in fact, the one that I´m trying to put into drupal), and it worked just fine.
I´ve tried to do this creating a node to the form, the same unsuccessful result.

If you could please give me a clue about this it would be very much appreciated!!

THANKS!!!!

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

xand’s picture

Check that the input type for that node is php?

Rosamunda’s picture

but now, I´m doing it outside drupal system, I´ve simply inserted both files (as .php files) on the root directory...

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

Rosamunda’s picture

The email is sent, but without the form content...!

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

Rosamunda’s picture

Is there a way to make it work?

Rosamunda’s picture

Until I could find a way to do this right, I´ve used a form from www.jotform.com
It´s not the best solution, I know... but at least I can use forms in my site.

I´ve mabe a bit of an extensive search, and maybe I could use (as a valid alternative) CiviCRM.
I´ve been reading that I can install it as a module. Again, it is way too much for what I want...
I´m looking forward for the results of the Summer of Code 2006, with the AJAX Form Creator project!

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

tyswan’s picture

I haven't really looked at this module, but it was the one I was considering to do something similar.

It is only a request form from what I understand. It has no relation to registration, roles, subscriptions or whatever.

Has anyone had experience using the webform module int this way?

Tys.