Search
 

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!

Showing hidden questions when updating
Last Post 07-01-2009 02:22 PM by David To. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Antony (WEBPC)User is Offline
river guide
river guide
Posts:152
Avatar

--
07-01-2009 07:19 AM

    On initial registration we have some question events that will display other questions.  In this case checking a checkbox displays other questions.  Answers to all these questions are stored in the DNN profile fields.

    When the user returns to the form to update thier details the 'trigger' question is checked but the other questions aren't shown. If we clear and recheck the trigger question then the additional questions will show so the events work.

    How can we get the other questions to display when the user initially goes to the page to update thier records?

    TIA

    Antony

    David ToUser is Offline
    river guide
    river guide
    Posts:2736
    Avatar

    --
    07-01-2009 09:19 AM
    You might try the following.
    1) create a hidden field on your form with shortname "hiddencheck" with a sort order of 1 or so (make sure it's sort order is above the questions that will be unhide)
    2) in your checkbox (ie. shortname checkbox), on the "Advanced Field Options", on the client side event, type in: $(hiddencheck) = $(checkbox)
    3) in the module configuration / custom javascript file, place the same client side event in Initial Javascript section for it to execute on page load
    4) in your question event, create another event to unhide the questions based on the hidden field "hiddencheck" for value of "true"

    Try this out and see if it works for you. -- David
    Antony (WEBPC)User is Offline
    river guide
    river guide
    Posts:152
    Avatar

    --
    07-01-2009 01:16 PM

    David

    Everything went well until step4 the 'hiddencheck" field isn't avail to be selected as the Initiation/ Postback Question.  Looks like there is some logic saying that if the question is hidden it cannot be used to trigger a postback?

    Antony

    David ToUser is Offline
    river guide
    river guide
    Posts:2736
    Avatar

    --
    07-01-2009 02:22 PM
    Okay, this works for DF but I guess the hidden field isn't available in the current version of DR, although I believe the next release 4.0 will have this feature. I don't see a way of triggering question event on page load without the hidden field. How about as a work-around, change the hidden field to a readonly combobox instead? Only problem is it will be displayed on the page. -- David
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way

     

     

       
    Subscribe Me
     
    Copyright 2005 - 2011 by Data Springs, Inc.