is there a way to save info submitted from a form, to a database? like a contact page form instead of sending to email it saves to the website so its public information and people can search for it
i was using this module but if people submit a form it sends it to an email
http://drupal.org/project/drupal-form
i want to the forms to be saved to the site as a new page ... then people search for a page with that info
the project would be really simple
only a three buttons on the nav bar
home,submit info, search
in the submit info page they would see a form like a contact page you enter the info into those fields and submit now that page is saved to the site
in the search page people can search for the info but theres filters to help narrow down the search
is there a way to have the info submitted be saved to the site?and not sent to an email?
Comments
=--=
use a content type to collect data and save data to the database
use views to pull the data from the database andn generate (search) lists with exposed filters (for narrowing)
ok i kinda get what your
ok i kinda get what your saying but how do i setup the form? should i code it in from scratch or is there a module i can use ?
and how do i set up views to pull the data (i got the module installed) but i dont see any options for that...in other words what am i looking for? lol
You can create the content
You can create the content type from the UI and then add fields. There are a number of contributed modules that add additional field types.
Once you have a content type, listing it with views is straigtforward
i can manage to get a new
i can manage to get a new page up but i still cant figure out how to get the text fields into that page
=-=
http://drupal.org/documentation/modules/field-ui
i read the link and im trying
i read the link and im trying to do something like what it mentioned about the phone and the contacts
"One way to think of content types is to visualize the contacts on your mobile phone. If you were to duplicate this on a Drupal site you would create a Content Type. You would name your new Content Type (e.g. Contacts), define the information that you wanted to store about each contact (called Fields in Drupal), and then add those Fields (e.g. First name, last name, and mobile phone number, etc) to that Content Type. You would then use this "Contacts" Content Type to enter the information for each of the contacts you had in your contacts list. You would use a View (as described above) to display your Contacts in a list similar to that which you see on your mobile phone."
i tried going to structure>content types>add content type
and i add a few fields then i can go to content>add content and im able to make a page where i fill in the blanks but its not what im trying to do
i want a guest that goes to the site to be able to submit content kinda like the phone contacts except i want a guest who goes to the site to be able to fill in the blanks and submit the info
so instead of the admin having to input 1 million contacts he can get help from the public to input all the information
but still have all that info public and organized with tags/categories etc like a few check boxes people mark the ones for that category
is it possible to do something like that?
You can grant permission to
You can grant permission to any role(s) you want to be able to create and/or edit select content types.
where do i go to do that?
where do i go to do that?
=-=
http://drupal.org/node/22275
nevermind that didnt work
nevermind that didnt work either ...