Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$().SPServices.SPArrangeChoices saving not working in SP2013 #32

Open
Itsmesri opened this issue Mar 2, 2016 · 5 comments
Open

$().SPServices.SPArrangeChoices saving not working in SP2013 #32

Itsmesri opened this issue Mar 2, 2016 · 5 comments
Labels

Comments

@Itsmesri
Copy link

Itsmesri commented Mar 2, 2016

I have bunch of radio buttons groups and showing the horizontally with ().SPServices.SPArrangeChoices. all radio buttons showing correct. but saving not working for them. If I remove this code everything work fine. I need to show horizantal and save data.

<script language="javascript" type="text/javascript" src="/dept/it/SiteAssets/jquery.min.js">//version jQuery v1.11.1 </script> //
<script language="javascript" type="text/javascript" src="/dept/it/SiteAssets/jquery.SPServices-0.5.8.js">// tried with SPServices 2014.02,SPServices 2014.01
</script> 

ChoiceArrange("Did the project implementation go as planned");
    ChoiceArrange("Did project communications meet business needs");
    ChoiceArrange("Was the project managed professionally");
    ChoiceArrange("Were the roles on the project clearly defined");

function ChoiceArrange(columnName){
$().SPServices.SPArrangeChoices({               
            columnName:columnName ,
            perRow: 5
    });

it is Sharepoint 2013

@sympmarc sympmarc added the bug label Jul 10, 2016
@manishmody
Copy link

I am also having same issue. I am using SPArrangeChoices to lay Choice column values horizontally.
On new custom form, the code is working good. But on OOTB Edit form, the changes to the choice columns are not saved. If I remove the code, it works as expected.

@rweaver56
Copy link

I am having the same issue in SP2016.

@sympmarc
Copy link
Owner

@rweaver56 - I think you're the first post here in about 8 years! I don't even have an instance of SP2016 available anymore, so I'm not sure I can help. If you want to post your code here, I could take a look, though.

@rweaver56
Copy link

rweaver56 commented Sep 17, 2024 via email

@sympmarc
Copy link
Owner

Sorry for the delayed reply. Since you were using v2014.01, you were probably missing a fix for that issue, as the last released version was v2014.02. Glad you solved it another way, though.

Since you're moving to SharePoint SE, you'll be in an entirely different world. Modern SharePoint doesn't allow us to embed arbitrary JavaScript in pages, so SPServices won't be of use to you anymore.

That said, some of your logic may be transferable to the SharePoint Framework (SPFx). Along with PnPjs, you can do all of the same things, but in a supportable and consistent way. If you ever need help, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants