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!

SQL Query parameter
Last Post 08-07-2008 12:24 PM by Aarthi Krishnaswamy. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Aarthi KrishnaswamyUser is Offline
skipping stones
skipping stones
Posts:12
Avatar

--
08-06-2008 10:17 AM

    Hey Chad,

    I have purchased the latest dynamic forms module from data springs and I am having issues with using query string in SQL driven options.

    my query is

    SELECT off_date as QuestionOption, off_date as QuestionOptionValue from mw_DynamicForms_Custom_Offerings where offering = '$(Offering)'

    This query works fine when I use a value in place of the token. I also made sure the offering field's sort order is less than the offering date field for which I am using this query.

    I saw a post in this forum which was posted an year back and deals with the same issue. You had then mentioned that it is was a bug in the module and you would send a patch for the same.

    Am not sure if this has been take care in the latest release as I am not able to make this work.If this is still a bug in the module, could you pls send me the patch asap?

    If not and if I am missing something, please guide me.

    Thanks,

    Aarti

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-06-2008 02:23 PM
    Hi,

    Well yes it should be fixed if you are running on 2.6. You would also need to create a question event though so that 'option 1' causes a postback.

    A few things...

    1. If you can setup a similar implementation on www.betasprings.com (login as host/dnnhost) we should be able to determine if the issue is a version difference or if its a implementation and setup issue

    2. Have you checked out the Dynamic Forms Demos? There is one specifically related to multiple dropdownlists and data driven form fields based on other questions. Usually the biggest issue is that you need to setup a question event to cause a postback.

    -Chad
    Aarthi KrishnaswamyUser is Offline
    skipping stones
    skipping stones
    Posts:12
    Avatar

    --
    08-06-2008 07:27 PM

    hey Chad,

    I am facing a weird problem when I setup my question event.

    Here is the situation.

    "Field 1 ":

    1. It is a text box.

    2. It gets its value from a querystring

    "Field 2"

    1. It is a combo box whose values are populated using a sql.

    2. The sql has a where clause which depends on the value of "field 1" (which means it is indirectly dependent on the query string)

    Now, when I try to setup the question event, only those fields which are combo boxes get listed under "Initiation / Postback Question" which means "Field 1" does not get listed there (as it is a text box)

    Please let me know how to handle this. I have also tried to simulate this in the page Dynamic Forms > rt_test in betasprings.com. (I have not simulated the querystring passing though)

    Thanks,

    Aarti

     

     

     

     

     

    Aarthi KrishnaswamyUser is Offline
    skipping stones
    skipping stones
    Posts:12
    Avatar

    --
    08-07-2008 11:21 AM
    Hey Chad,

    Could you pls. provide a solution for this as am stuck with this problem big time and need this functionality in production by tomorrow..

    Thanks,
    Aarti
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-07-2008 12:12 PM

    Aarti,

    Hi. Yes there is some build in functionality to NOT allow textbox entries to be allowed within SQL Options. This is (right now) because of security reasons and possibly SQL Injections that can occur. We have worked out a few security measures and are allowing certain parameters to be passed and parsed for implementations such as these. If you look within the forums search for 'DSPARAM1' etc... You can pass this variable and $(DSParam1), $(DSParam2), $(DSParam3) are allowable querystring parameters you should be able to pass and it will get rendered properly within the SQL events.

    -Chad

    Aarthi KrishnaswamyUser is Offline
    skipping stones
    skipping stones
    Posts:12
    Avatar

    --
    08-07-2008 12:24 PM
    Great ! it worked ! Thanks a ton 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