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!

Request for virtual methods
Last Post 06-18-2007 08:39 AM 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
Brian CornUser is Offline
skipping stones
skipping stones
Posts:13
Avatar

--
06-16-2007 01:55 AM

    I am trying to add some additional functionality to the ExecuteRegistration process, but do not want to change the source code.  For example, one of the things I am attempting to do is limit the number of choices made by a user in a multi-select Listbox question given some other question's response.  This would be simple enough if I could get to the Listbox at the point just before it was processed within the ExecuteRegistration method.  Is there anyway to add a public virtual method that is called at the beginning of ExecuteRegistration that would allow Dynamic Registration module users to override this function on the ascx side to add any required custom functionality?  I suspect there may be other areas of the DynamicRegistration module where such overrides might come in handy. 

    I am using DNN 4.5 with DynamicRegistration 2.4.

    Thanks!

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-18-2007 08:39 AM

    Ummm... I think you can already do this? There is a feature called Question Events and you could for example (based on a another questions response) hide a question or display a hidden question etc... In your case you could just have it display the listbox question and use SQL for the question options. One of the benefits of using SQL for the question options is that you can also use the previous question short field name within the query to limit the number of listbox options. With your example above were you wanting to limit the number that they could select or were you actually wanting to limit whats in the list? If you are trying to limit whats in the list you can use the short field name within the query.

    Example:
    Select Text as QuestionOption, Text as QuestionOptionValue from yourcustometable where somefield = '$(QuestionOneShortFieldName)'

    Basically this could check the table and only pull in items from the table and its adding a clause to only pull in values based on question one.

    This might sound confusing but the short version is you can limit the number of options that show up in Question Two (the listbox) based on the Question One (some other field)

    This might be the wrong direction though based on your questions so provide some more clarification and we will see what options are available. I just made a post for whats to come in 3.0, you might it out to see if anything within the upcoming release will help.

    -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