Is it possible to have the label under the radio button?
while it is all on the same line
Thanks
Appnitro Software Forums » MachForm 2
Text under radio button
Started 2 years ago by wisescorpio | 2 posts |
-
Posted 2 years ago #
-
Hi,
You need to edit "includes/view-functions.php" file for this, go to around line 510 and you'll see these code :
$option_markup .= "<input id=\"element_{$element->id}_{$option->id}\" name=\"element_{$element->id}\" class=\"element radio\" type=\"radio\" value=\" {$option->id}\" {$checked} />\n";then put this code exactly bellow that line
if ($_GET['id'] == 78 && $element->id == 1) {$option_markup .= ' <br /> ' ; }after that add this CSS to your form
#li_1 label.choice { width:100% !important; margin-left:0px !important; }Anyway I use form id 78 and radio element id 1 in that code, don't forget to change the ID's with yours
MachForm Support
Posted 2 years ago #
Reply
You must log in to post.
