2 Replies Latest reply on Apr 9, 2012 8:15 PM by Random Guy 44

    text field presence and radio buttons

    Random Guy 44

      New to LC and JavaScript and am attempting to show/hide a text field on radio button (excl group) select using the presence property. Two buttons in the exclusion group (i'll call them 1 and 2), default presence of text field is to be hidden (not displayed and takes up no space on layout).  I've set the default value for the radio button group to "2" and would like the text field to show (and have focus, but i've managed that bit) when the value changes to "1" on click, then clear and hide again if "2" is clicked.  Any advice would be greatly appreciated.


      Thanks in advance.