Radio Button Default Value
Last Post 11-28-2012 05:55 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Rutledge ScarboroughUser is Offline
going with the flow
going with the flow
Posts:36
Avatar

--
11-27-2012 10:35 AM
    I can't get a default value to work for a radio button set. 

    I am not using SQL Driven Options. 

    I have checked "Always Force Default Value" and unchecked "No default value". 

    I set the default value to the correct radio button option. 

    Nothing is selected in radio button when I load the form. 

    DNN: 6.2.4 DR: 4.20.20 

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

    --
    11-27-2012 11:11 AM
    Hello Rut,

    This is interesting, I'm not sure why this isn't working for you however there's a simple workaround using JavaScript.

    Simply Inspect your Radio Button Group and find the HTML ID of the option in your Radio Button group that you wish to be defaulted. Save this ID value.

    Then you can build some simple JavaScript to select the radio button:

    document.getElementById('HTMLIDGoesHere').checked = true;

    You'll want to place this JavaScript under Module Configuration -> JavaScript -> Custom JavaScript File -> Initial JavaScript.

    This section will fire any JavaScript that you provide on Page Load.

    Let me know if you have any questions.

    Thanks,

    Ryan
    Rutledge ScarboroughUser is Offline
    going with the flow
    going with the flow
    Posts:36
    Avatar

    --
    11-28-2012 04:45 AM
    That should work for this case but I would like to see this fixed so the works around is not required.

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

    --
    11-28-2012 05:55 AM
    Hello Rut,

    Yes this is a known bug at the moment and it's currently logged on our development list. This item is not at the highest priority at the moment since there are several workarounds. We plan to have this fixed up on the next patch or hotfix.

    Thank you for taking the time to bring this to our attention, we value customer participation.

    If you have any questions please let us know.

    Thanks,

    Ryan



    ---
  • 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