Okay, I am trying to get my SharePoint 2007 custom list form field radio buttons and check boxes form fields which by default are vertical, to be horizontal in SP 2007. I am unsure as to what I should or should not be doing next.
Here is one form field called ProjectCompleted on the default form
Here is one form field called ProjectCompleted on the default form
<xsl:comment>FieldName="Project Completed?"</xsl:comment><SharePoint:FormField runat="server" id="ff14{$Pos}" ControlMode="Edit" FieldName="Project_x0020_Completed_x003F_" __designer:bind="{ddwrt:DataBind('u',concat('ff14',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Project_x0020_Completed_x003F_')}" />
SPServices form:// Rearrange radio buttons or checkboxes in a form from vertical to horizontal display to save page real estate
$.fn.SPServices.SPArrangeChoices = function (options) {
var opt = $.extend({}, {
listName: "All Projects", // The list name for the current form
columnName: "Project Completed?", // The display name of the column in the form
perRow: 2, // Maximum number of choices desired per row.
randomize: false // If true, randomize the order of the options
}, options);
var columnFillInChoice = false;
var columnOptions = [];
var out;