This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
radio buttons on same line in admin view
Started 14 years ago by grimdesigns | 4 posts |
-
Is there a way to have radio buttons on the same line in the admin view
Posted 14 years ago # -
I'm afraid it won't be possible to have the radio buttons on the same line in the admin view. This can only be done on the resulting forms.
MachForm Founder
Posted 14 years ago # -
Okay, thanks
Posted 14 years ago # -
I figured it out. You have to find the element ID of the radio button(s) that you want to be horizontal. I wanted certain radio buttons in the edit_entry view to be horizontal so while in the edit_entry view, I did a quick view source and found the element ID.
Then you need to use an editor (notepad, dreamweaver, etc) to edit the edit_entry.css file. In that file you can place this code:
#li_89 label.choice {
display:inline;
position:relative;
margin-left: 0.2em;
_top:0.2em;
}#li_89 input.radio {
display: inline;
margin-left: 0.5em;
}Please remember to replace (#li_89) with an element of your choosing.
I hope this helps someone.Note: The above code example was taking from a previous post Yuniar had where this code was placed in the view.css file which controlled the view.php page.
Posted 14 years ago #
Reply
You must log in to post.