Forum Discussion

AdamKeever1's avatar
AdamKeever1
Qrew Commander
6 years ago

horizontal radio buttons

Does anyone know how to display radio buttons horizontally?
  • You can toss a little ImageOnLoad into a Rich-Text field and hide it on an admin tab using the following formula

    "<img src=\"/i/clear2x2.gif\" " &
    "onload=\"javascript:if(typeof QBU=='undefined'){QBU={};setTimeout(function(){" & 
        "$('.RadioButtons br').remove();" &
        "$('.RadioButtons label.NoneOfTheAbove').remove();" &
        "$('.RadioButtons label').css('margin-right', '25px')" &
    "}, 500)}\">"

    Make sure the form setting shows them as radio buttons and they'll appear side by side with the above

    Chayce Duncan | Director of Strategic Solutions
    (720) 739-1406 | chayceduncan@quandarycg.com
    Quandary Knowledge Base
  • You can toss a little ImageOnLoad into a Rich-Text field and hide it on an admin tab using the following formula

    "<img src=\"/i/clear2x2.gif\" " &
    "onload=\"javascript:if(typeof QBU=='undefined'){QBU={};setTimeout(function(){" & 
        "$('.RadioButtons br').remove();" &
        "$('.RadioButtons label.NoneOfTheAbove').remove();" &
        "$('.RadioButtons label').css('margin-right', '25px')" &
    "}, 500)}\">"

    Make sure the form setting shows them as radio buttons and they'll appear side by side with the above

    Chayce Duncan | Director of Strategic Solutions
    (720) 739-1406 | chayceduncan@quandarycg.com
    Quandary Knowledge Base