[development] After form submit

Victor Kane victorkane at gmail.com
Thu Jul 30 15:43:27 UTC 2009


Ah, it was not clear to me that Salvador was talking about a custom form...

On Thu, Jul 30, 2009 at 12:38 PM, William Smith <william.darren at gmail.com>wrote:

> The data will be sent to your submit handling function - if you wish to
> persist the data, you can either manually store it in a db table, or you
> could programatically create a node containing the data.  See the section
> "Submitting Forms" in
> http://api.drupal.org/api/file/developer/topics/forms_api.html/6
>
> The short answer is yes, you have to do it yourself :)
>
> Best,
> William
>
> On Thu, Jul 30, 2009 at 10:33 AM, Salvador Benimeli <salbefe at gmail.com>wrote:
>
>> Hello Victor,
>>
>> My problem is, after submitting a form, post values are automatically
>> persisted by Drupal or have I to do myself??
>>
>> Thanks a lot
>>
>>
>> 2009/7/30 Victor Kane <victorkane at gmail.com>
>>
>> What is great about Drupal is that when you create a content type, even
>>> using CCK module and defining extra custom fields, everything is
>>> automagically persisted in the database and may be retrieved as nodes. You
>>> don't have to worry about that.
>>>
>>> And, Drupal has a contributed module which is really practically part of
>>> Drupal itself (no-one develops any serious sites without using it and CCK):
>>> the Views module, which is a query generator so you don't have to use SQL to
>>> list your nodes. There is a powerful graphical interface which allows you to
>>> create your query on the fly and even shows you a preview of the list you
>>> will be getting.
>>>
>>> The views module (http://drupal.org/project/views) also allows you to
>>> create as many displays of the view (Page/Block/RSS etc.) as you like.
>>>
>>> That's why everyone is flocking to Drupal!
>>>
>>> Victor Kane
>>> http://awebfactory.com.ar
>>>
>>>
>>> On Thu, Jul 30, 2009 at 11:03 AM, Salvador Benimeli <salbefe at gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm new to Drupal, and after looking FAPI documentation there are some
>>>> kind of things that are not clear to me.
>>>>
>>>> Where go the data once the form has been submitted?? The data submitted
>>>> on a form is stored as a node or other kind of content or have I to create a
>>>> table on the database and storing post values inside that table???
>>>>
>>>> How can I create a view where I can show all the data that has been
>>>> submitted???
>>>>
>>>> Thanks in advance
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090730/6c8bd3e0/attachment.htm>


More information about the development mailing list