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!

Email admin after confirmation email clicked.
Last Post 07-11-2012 02:37 PM by Ryan Bakerink. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Lance LongUser is Offline
going with the flow
going with the flow
Posts:29
Avatar

--
07-05-2012 12:23 PM
    I was hoping for a tutorials or documentation for the following work flow:
    • User fills in a DF form
    • User forwarded to a page telling them to expect a confirmation email
    • Email with details sent to given address - also contains a link with an unique confirmation code in the query string
    • User clicks the link and returns to site
    • User is then automatically "confirmed" and a thank you message is displayed
    • Admin receives email with all details from the original form submission.
    From reading the features of DF, I believe this is possible.  Thanks in advance.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-06-2012 05:12 AM
    Hello Lance,

    This workflow is possible with Dynamic Forms.

    The most difficult part will be getting the Dynamic Form to know what to do when receiving the querystring parameter from the email.

    What I would suggest doing is:

    * Add a hidden question to your form that retrieves it's value from a querystring value.
    * Create a Question Event that Submits the form if the hidden field DOES NOT = '' --> Empty


    Let me know if this makes sense or if you have any questions.

    Thanks,

    Ryan
    Lance LongUser is Offline
    going with the flow
    going with the flow
    Posts:29
    Avatar

    --
    07-06-2012 02:05 PM
    So if the variable (with any value) is in the query string, it will trigger the event.

    But, how do I get the rest of the values out of the DB to send to the admins?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-09-2012 06:23 AM
    Hello Lance,

    You would need to provide a unique ID in your Querystring from the email as well as the querystring name/value pair that will submit the form.

    Make sure that the UniqueID is being retrieved by a hidden field and that this field has the lowest sort order on your form. The querystring parameter that will conditionally submit the form(using a Question Event) needs to have the highest sort order on the form(different hidden field).

    Why and what's with the sort orders?

    Well you want to give the Dynamic Form a chance to Initial SQL bind data from a table to prefill your form with the values specific to the UniqueID you passed in. SQL Binding is a feature under Module Configuration -> Advanced Coding Options -> Initial SQL Rendering/Bind

    Then if the parameter value that conditionally submits the form passes the condition and submits the form, you will now have access to all of the values for that record and can provide these in the Admin email that you want to configure.

    Let me know if this makes sense or if you have any questions.

    Thanks,

    Ryan
    Lance LongUser is Offline
    going with the flow
    going with the flow
    Posts:29
    Avatar

    --
    07-11-2012 11:35 AM
    I think I follow ... I will give it a try and see how far I get.

    I'm running version 4.10.0 - is that the latest?  Seem a little buggy and many functions aren't acting as advertised.
    Lance LongUser is Offline
    going with the flow
    going with the flow
    Posts:29
    Avatar

    --
    07-11-2012 12:58 PM
    I have pieced together what I believe are the right steps for the initial SQL bind but it is failing silently (fields remain empty).  Is there a way to debug the SQL results?

    SELECT 
     [FirstNa],
     [LastNa],
     [Email]
    FROM
     dbo.DynamicForms_CustomTable_3978
    WHERE
     UniqueCompletionID = "$(UniqueCompletionID)"

    I can get the UniqueCompletionID to show in a text field from the query string and when I test the SQL on the server it returns a single row.

    I used the SQL tools in the SQL event to generate all the tables and actions so all the column headings and shortnames are aligned.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-11-2012 02:30 PM
    Hello Lance,

    You must use "$(DSParam1)", "$(DSParam2)", or "$(DSParam3)" in your Initial SQL Bind.

    So you need to add a Hidden field on your form that will Retrieve the unique value either from a Querystring value, Cookie value, or Session value, these are all features under Advanced Question Options.

    *** NOTE: Initial SQL Bind can only use the token names mentioned above.

    So here's the modified SQL Bind query once you have the hidden field with the ShortFieldName of "DSParam1", "DSParam2" or "DSParam3":

    SELECT
    [FirstNa],
    [LastNa],
    [Email]
    FROM
    dbo.DynamicForms_CustomTable_3978
    WHERE
    UniqueCompletionID = '$(DSParam1)'

    Let me know if you have any questions.

    Thanks,

    Ryan
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-11-2012 02:37 PM
    What you can do to debug your SQL that's being executed for the initial SQL bind, is add "&debug=True" or "?debug=True" to the URL of the page and refresh the page. This technique will allow you to keep all Querystring parameters in the URL and place the form in Debug mode.

    Then you can copy the SQL Statement that is being attempted, and if it seems that it's not working appropriately, 9 times out of 10 it's a SQL Syntax Error.

    In the case that an error is occurring within your SQL copy the debug text that shows your SQL statement and go to Host -> SQL. Then paste the debug text(It will be an actual SQL Statment), check the "Run as Script" and click "Execute".

    You should get some details as to why the query is failing.

    Let me know if you have any questions.

    Thanks,

    Ryan
    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