SPArrangeChoices not working

Sep 29, 2010 at 9:15 PM

I'm trying to use SPArrangeChoices and it's working fine except for two columns.  I suspect that it's not a coincidence that those are the columns whose column names include punctuation.  Do I need to escape the column name somehow in order for SPArrangeChoices to work?

Thanks,

Carlos

Coordinator
Sep 30, 2010 at 2:48 AM
Carlos: Can you let me know what those column names are? Also, is your site in English or some other language? M.
Sep 30, 2010 at 9:59 PM

Yes, the site is in English.

Here are the column names.  They're so long because the list is a checklist and the names are being used as the questions.

Column 1: All incidents resulting in injury or illness, hazardous material spills, property damage or near misses were reported. (Please attach any incident reports or photos to this form.)

Column 2: Overall Recommendation: Would you recommend this contractor for future projects

Thanks,

Carlos

Coordinator
Sep 30, 2010 at 10:25 PM
PGh0bWw+PGJvZHkgYmdjb2xvcj0iI0ZGRkZGRiI+PGRpdj5UeXBpY2FsbHkgeW91J2QgdXNlIHRo ZSBuYW1lIG9mIHRoZSBxdWVzdGlvbiBhcyB0aGUgY29sdW1uIG5hbWUgKENvbHVtbiAxKSBhbmQg dGhlIHJlc3Qgb2YgdGhlIHRleHQgd291bGQgZ28gaW4gdGhlIERlc2NyaXB0aW9uLiBPciBpcyB0 aGlzIGEgc3VydmV5PzwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+TS48YnI+PGJyPjxkaXY+PGJy PjwvZGl2PjwvZGl2PjxkaXY+PGJyPk9uIFNlcCAzMCwgMjAxMCwgYXQgNTo0NyBQTSwgIkNhcmxv c1QiICZsdDs8YSBocmVmPSJtYWlsdG86bm90aWZpY2F0aW9uc0Bjb2RlcGxleC5jb20iPm5vdGlm aWNhdGlvbnNAY29kZXBsZXguY29tPC9hPiZndDsgd3JvdGU6PGJyPjxicj48L2Rpdj48ZGl2Pjwv ZGl2PjxibG9ja3F1b3RlIHR5cGU9ImNpdGUiPjxkaXY+IDxzdHlsZT5Cb2R5e2ZvbnQtZmFtaWx5 OiBWZXJkYW5hOyBmb250LXNpemU6IDAuNzVlbTt9I1RocmVhZE5vdGlmaWNh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U6IEltYWdlcyBhbmQgYXR0YWNobWVudHMgd2lsbCBiZSBy ZW1vdmVkIGZyb20gZW1haWxzLiBBbnkgcG9zdHMgdG8gdGhpcyBkaXNjdXNzaW9uIHdpbGwgYWxz byBiZSBhdmFpbGFibGUgb25saW5lIGF0IDxhIGhyZWY9Imh0dHA6Ly9jb2RlcGxleC5jb20iPjxh IGhyZWY9Imh0dHA6Ly9jb2RlcGxleC5jb20iPmNvZGVwbGV4LmNvbTwvYT48L2E+PC9wPiA8L2Rp dj4gIDwvZGl2PjwvYmxvY2txdW90ZT48L2JvZHk+PC9odG1sPg= --Apple-Mail-63-488071511--
Oct 1, 2010 at 5:09 PM

Hi Marc,

It looks like something didn't come through correctly with your last post.

Coordinator
Oct 1, 2010 at 5:28 PM
Sorry, Carlos. You mean you couldnt read that? ;-) Sometimes when I email from my iPhone that happens. Typically you'd use the name of the question as the column name (Column 1) and the rest of the text would go in the Description. Or is this a survey? In any case, you may be right that the punctuation is the issue. Could you send me the part of the DOM where these two columns are rendered? If you're not sure how to do that, just send everything from View Source. M.