This project has moved and is read-only. For the latest updates, please go here.

SPServices.SPArrangeChoices with Custom Form

Mar 5, 2010 at 3:43 PM


Is there any issues that you are aware of when using a custom NewForm with the SPServices.SPArrangeChoices functions. It does not seem to be working with the form I created.

This is what I did to make the form.

Opened NewForm in Designer

  1. Deleted default new form webpart
  2. Intested Custom List Form
  3. Cut and passted fields to compact the form.
  4. Saved

The check boxes or radio buttons are no longer horizontal.

Mar 5, 2010 at 3:46 PM

Was that just you over at EUSP asking about this or is it just SPArrangeChoices day?  ;+)

It ought to work.  Could you send me the markup for the column from View Source?


Mar 5, 2010 at 4:01 PM

If it was yesterday it may have been my CoWorker, I am trying to get this fixed while he is out today.

I hope this is what you are wanting.

</span></td><td width="400px" valign="top">&nbsp;</td></tr><tr><td width="190px" valign="top"><H3><nobr>R/I Total $</nobr></H3></td><td valign="top"><span dir="none">
  <input name="ctl00$m$g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5$ff8_1$ctl00$ctl00$TextField" type="text" id="ctl00_m_g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5_ff8_1_ctl00_ctl00_TextField" title="R/I Total $" Size="11" style="ime-mode:inactive;" /><br>
 </span></td><td width="400px" valign="top">&nbsp;</td></tr><tr><td width="190px" valign="top"><H3><nobr>R/I $$$$ - 1</nobr></H3></td><td valign="top"><span dir="none">
  <input name="ctl00$m$g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5$ff9_1$ctl00$ctl00$TextField" type="text" id="ctl00_m_g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5_ff9_1_ctl00_ctl00_TextField" title="R/I $$$$ - 1" Size="11" style="ime-mode:inactive;" /><br>
 </span></td><td width="400px" valign="top">&nbsp;</td></tr><tr><td width="190px" valign="top">&nbsp;</td><td valign="top">&nbsp;</td><td width="400px" valign="top">&nbsp;</td></tr><tr><td width="190px" valign="top"></td><td valign="top">Bookloss</td><td width="400px" valign="top"><nobr>BACFSC Approval - 1</nobr></td></tr><tr><td width="190px" valign="top"><H3><nobr>PNP Reason - 1</nobr></H3></td><td valign="top"><span dir="none"><select name="ctl00$m$g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5$ff10_1$ctl00$DropDownChoice" id="ctl00_m_g_dbf27d74_eb70_4a96_85f5_2536d8dd9ba5_ff10_1_ctl00_DropDownChoice" title="PNP Reason - 1">

The bolded section is the name of the field I am testing on. Row value is set to 2  

Mar 5, 2010 at 4:15 PM

It's an SPArrangeChoices day - it was me at EUSP :)


Mar 5, 2010 at 4:16 PM


Let's virtually merge these two threads.  Watch (and participate in ) this one:

Wierd how these things come in bunches.