Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Radio Buttons are not displaying horizontally on custom aspx page..

$
0
0

I have a custom aspx page  in SharePoint 2010 that has one choice column set up as radio buttons and I would like to use the SPArrangeChoices function to position them horizontally. I have placed the required code on my custom aspx page but even though my alert is triggered and I don't get any errors my radio buttons still display vertically.


<script type="text/javascript">
   $(document).ready(function() {
   alert("him");
    $().SPServices.SPArrangeChoices({
            columnName: "Gender",
            perRow: 3
    });

   });
  </script>

 

I have put <xsl:comment> above my field.

<xsl:comment>FieldName="Gender"</xsl:comment>

<SharePoint:FormField runat="server" id="ff25{$Pos}" ControlMode="New" FieldName="Gender" __designer:bind="{ddwrt:DataBind('i',concat('ff25',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Gender')}" />
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->

 


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>