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!

Show hidden field when editing
Last Post 05-10-2011 03:33 AM by TommyOnDNN. 11 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ABUser is Offline
going with the flow
going with the flow
Posts:62
Avatar

--
01-14-2010 01:21 PM

    I have a radiobutton field with three (3) values.  Depending on which button is selected, I'm showing/displaying a hidden field, which is properly working when initially filling in the form.  After submission however, and I want to edit the same record, the correct button is selected but the matching field (hidden) is not showing but it is saved in the database.

    Todd JanesUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    01-19-2010 08:10 AM

    I'm having this exact problem, only with a combo box instead of radio buttons. It was suggested that I create another hidden field that is set on the initial bind to the value of the initiating field for the event, put this field first in the question sort order, then create question events to fire off of the value of this new field. Unfortunately, this did not work for me, but if you figure out how to get this method working, I'd love to know!

     

    Thanks -ToddJ

    Richard BaileyUser is Offline
    going with the flow
    going with the flow
    Posts:66
    Avatar

    --
    01-19-2010 08:21 AM
    Todd - did you setup a question event on the Hidden Status field to show the hidden field if the value equals that it has been chosen already?

    Todd JanesUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    01-19-2010 08:57 AM

    Richard,

    I'm not sure that I completely understand your question, so I'll err on the side of giving you too much detail rather than too little.

    The TeleNurse field is the hidden field that I want to show when the Status combo choice is In Progress, No Answer, or Line Busy. There are two other choices that should not show the TeleNurse field.

    I have three events on the Status field for the three choices that I want to show the TeleNurse field. These fire when the form is initially being filled out, and they work correctly.

    I created a new field, HiddenStatus, set it to hidden, set the sort order to 1 (which puts it before all other fields), and set it to pull the value from the query string. If I unhide the HiddenStatus field, I can see that it is pulling the value from the query string correctly.

    I set up three new question events that mimic the behavior of the other three events, only these fire off of the HiddenStatus field. Even though I have verified that the field does pull in the value from the querystring, the events do not work to show the hidden field TeleNurse.

    Richard, thanks again for spending time on this. If I didn't fully answer your question, or if you need more, please let me know.

    -ToddJ

    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    01-20-2010 09:36 AM
    This is my scenario:

    1. I have a field called School Preference (Radio Buttons Question Type) with three (3) choices.

    2. When either choice 1 or choice 2 is selected, it displays a hidden field for the user to enter the name of the school.

    3. When choice 3 is selected, it displays a hidden field for the user to enter the area of the school.

    I have three (3) question events. One event to check if the value is choice 1 then display the name of the school. I have another event to check if the value is choice 2 then display the name of the school. Then, another to check if the value is choice then display the area of the school.

    The question events work properly when creating a new record. THE PROBLEM HOWEVER IS WHEN YOU RETRIEVE A SAVED RECORD, ALTHOUGH THERE'S A SELECTED OPTION IN THE RADIO BUTTON FIELD (School Preference), THE HIDDEN FIELD (Name of School or Area of School) DOES NOT DISPLAY, even though the data is saved in the database.
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    01-20-2010 10:02 AM
    I just want to clarify that the "Name of School" field and "Area of School" field are Textbox Question Type. THEY ARE NOT OF QUESTION TYPE "HIDDEN FIELD". The option "Hide until foced visible by question event" however is checked for both.
    Todd JanesUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    01-21-2010 10:16 AM

    I didn't even notice the question type Hidden Field until AB mentioned it. My HiddenStatus and Status fields are both combos, and the field that should be shown based on the Status, TeleNurse, is of type Textbox. Since I read what AB said, I did go back and try changing the type of HiddenStatus to Hidden Field, with no luck.

    Todd JanesUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    01-21-2010 10:36 AM

    AB's last comment combined with Chad Nash's advice in another topic I had posted finally got this working. AB's comment about using the Hidden Field type didn't work when I tried it because I still had the rule checked to hide the question until forced visible by question event. SO, a combination of passing the value of Status to HiddenStatus via the query string, having HiddenStatus pull that value in via the questino rules check box to do so, having the HiddenStatus field type as Hidden Field, NOT having any rules checked to hide the field for another reason (either to force view by question event, or hide from roles rules), and having the question events to show the other hidden field (TeleNurse) fire off of the HiddenStatus field is what finally worked. I may have left something out here, but I am happy to fill in any details for anyone else still having problems if asked.

    Thanks everyone! -ToddJ

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    01-22-2010 02:03 PM
    Todd,

    Thanks for the follow up and I am glad you were able to get this working!

    -Chad
    TommyOnDNNUser is Offline
    going with the flow
    going with the flow
    Posts:26
    Avatar

    --
    04-08-2011 07:09 AM
    I'm struggling with the same problem. I've been trying to reproduce Todd Janes' solution, however the description is to cryptic for me.

    Could somebody write out the steps to get this working a bit more clearly? Like Step 1) create HiddenStatus field: Question Type: Hidden Field, Retreive values from querystring variable: Checked etc. etc.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-11-2011 02:50 PM
    Hi guys... So the problem is that question events are firing properly but then when you come back into the same form instance in edit mode (using the Dynamic Forms View Results Edit Link) the question events don't fire and show fields accordingly?

    -Chad
    TommyOnDNNUser is Offline
    going with the flow
    going with the flow
    Posts:26
    Avatar

    --
    05-10-2011 03:33 AM
    My problem is solved. It was a configuration error in linking to the core. After checking all core field links from all fields I finally pinpointed which one was configured wrong and after that everything worked as expected.
    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