We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3177
    • 137 Posts
    Hello,

    I had this problem in a 0.9.6.3 environment, so I upgrades to 1.0.2 first to see if the problem was gone. But it wasn’t. And nowhere on the forums was there any reference to this behaviour.

    Problem:
    My website has a Template Variable of InputType = "Radio Options".
    The Input Option Values has the following values:

    option-1||option-2||
    option-3||option-4
    


    As you can see, before option-3 an RETURN is added.
    The effect is that you do see all the options in a document. You can select one of the four options and
    save the document.
    Then, after you open the document, the selection is gone.
    Then I changed the Input Option Values by removing the RETURN-character and checked the document again.
    To my surprise, the original options I selected were there!!

    So, the problem is:

    When the Input Option Values of a Radio Options Template Variable contains a return, all the options are visible in a Document, but the selection seems not to be saved to the database.
    When removing the RETURN-character in the Input Option Value, the original value is shown in the Document.


    Workaround: Remove any RETURN-character in the Input Options Value of the Radio Options Template Variable.

    This looks like a bug in the Manager interface of version 1.0.2.

      • 38640
      • 5 Posts
      I know this is an old thread, but even now on MODX 2.2.4, this problem still happens.

      I have a TV with radio options. Today I was reordering the options to make them alphabetical and the TV list disappeared when editing my page, though the site was still functioning as though the option had been checked.

      I panicked briefly, saw this thread, and checked my option list. I had an extra return at the end of the list that I didn't realize was there. I deleted all extra space and it's fine now.

      Thanks for posting this fix!