Hello,
I'm looking for a module to create a webform with these options :

- when creating a new webform, I need to have a select (list) of suppliers and select the option I want to make it as a markup on the final form for the user. a button which start a textfield where I can write a new supplier which I would like to add to this list, with the button to add this option to the list.

- For now, When I want to see the results, I can only see the results of the form, but I will create multiple forms and many forms will have the same supplier, and I want to see the results by suppliers.

Is there a module for this? Is it hard to make?
I have less than 30 days to do this and I don't know how to make a module. I just know html/css/php/mysql/sql-oracle coding.

Thank you

Comments

blipper1’s picture

Does it already exists ? and is it difficult to code it ?

jvalletto’s picture

My understanding of your problem is this, and please correct me if I am wrong.

  1. You have a form that uses a field called "vendors", which you wish to dynamically add new "vendors" to.
  2. You wish to create multiple types of forms, all using the same "vendor" field.
  3. You then want to be able to sort these submissions by "vendor".

If this is correct, I believe you should be able to use CCK, nodereference, and views to accomplish this.

First, create a node type called "Vendors". Add in all the extra fields for information you wish to collect on Vendors here. [e.g. name, location, phone number, contact, etc.]

Second, then create a node type for your original form, [e.g. products], to which you will add an nodereference field referencing "Vendors".

(There are existing options out there to dynamically add results to the nodereference field. One being Popups: Add and Reference )

You would then use views to create a list of Vendors. [Not sure exactly what you are looking for here. But Views should help you to achieve a listing of Vendors, as well as "products" sorted by "Vendor" if that is what you are looking for]

I hope this helps.

- Jeremy.

blipper1’s picture

this is exactly the problem I want to solve.
I will try but I don't already know what is CCK but I will try to accomplish what you said.

I want to be able to sort the results by "vendor" and also by "internship name" which are 2 fields which will be in each forms.

blipper1’s picture

I can't create the view, it doesn't seems to be the same thing as I wanted to do.

As I said, there is 2 texfields in the forms "internship name", "supplier name" these fields are on each forms.

I have to write the internship name but, Instead of writing the supplier name, I will have a list (like the select in html), and I want to click the name of the supplier, all this in the webform edition,

If there is not the supplier I want, I would have to click on a button to add a new supplier. (like a popup where I write something, then click ok, and the popup close)

And to finish I just can see the results of votings (satisfied, very satisfied) of the form. But my objective is to have a classement of the suppliers with the numbers of satisfied, very satisfied ... so that I can see what supplier is good, and which is bad for the customer.

So, is your explication really corresponding to what I said? I'm not sure to have good understood is we are talking about the same thing.

Thanks.