Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

very basic question
Last Post 08-30-2007 05:19 PM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
David GiebinkUser is Offline
going with the flow
going with the flow
Posts:42
Avatar

--
08-28-2007 12:34 PM

    Please tell me how the forms that are created in DynamicForms are connected to an underlying database.

    E.g., suppose I want to create a database table 'reading list', in which users enter their favorite books. The form is easy, author, title, etc. But, I want to (1) allow each user to enter as many books as they like and (2) be able to view the resulting table.

    So, does DynamicFoms create the underlying dbase table. Or, is this something I need to know up front and do it? If that, then what do I use to create the dbase and how do I link form cells to fields in the table etc.

    If this is too basic of a question, please point me in the direction of something to read, so that I can learn how this is done. I'm quite lost at the moment and need a bit of direction!

    Thanks! David

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-30-2007 05:19 PM

    David,

    Hi. Well the forms responses are saved to a relation ional database called select top 10 * from DynamicForms_QuestionResponse. The responses tie back to the DynamicForms_Question table and another key column called UniqueCompletionID. In your case though I think what you probably want to do is create a new table in your database called "ReadingList" and use a Dynamic SQL Event as a completion event when the form is submitted to do something like this:

    Insert Into ReadingList(AuthorID, Author,Title) Values('$(UserID)', '$(AuthorShortFieldName)', '$(TitleShortfieldName)')

    This would basically always insert the data after form completion. A few other tips:

    1. You could always have the form redirect under general settings to itself so that the user could keep adding them, or better yet add a checkbox field 'Add another?' and then create a completion event that only redirects back to the same page if the checkbox is checked.

    2. To pull in the results you can use any reporting module including the standard DotNetNuke Reports Module with a query like this:
    Select * from ReadingList etc...

    3. Just a note that there are other parameters you can use in the SQL Event such as $(UserID), $(PortalID), $(ModuleID) etc...

    -Chad

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi