tag:blogger.com,1999:blog-8705297068966115777.post1179397729761888203..comments2023-07-03T13:51:23.493+05:30Comments on SharePoint Kings: Creating and working with Survey in SharePoint - Part 5Parth Patelhttp://www.blogger.com/profile/05132175585607358084noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-8705297068966115777.post-49758224023071820642012-05-05T10:23:53.148+05:302012-05-05T10:23:53.148+05:30@Vamsi, you are going in right direction. we don&#...@Vamsi, you are going in right direction. we don't know your exact requirement but we guess you are not able to find exact object to set onclick event. <br /><br />have a little google on jquery basics it will be fun actually :)<br /><br />best of luck :)SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-18088323658973888732012-04-26T04:10:00.197+05:302012-04-26T04:10:00.197+05:30Hi, thanks so much for these articles. These are v...Hi, thanks so much for these articles. These are very helpful and you guys are really smart. I am wondering if you can provide any information whether we can open an alert or rollover with a message instead of a link to a URL like you mentioned. <br /><br />I tried using the using <br />onClick="alert('');return false" <br />and <br />onMouseOver="window.status='what is pahoehoe?';return true" replacement codes for this with no luck. I am not familiar with script much so I might have done something wrong there. Can you please help?Vamsihttps://www.blogger.com/profile/11480489372919980785noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-90876600259927109962011-06-18T20:20:18.514+05:302011-06-18T20:20:18.514+05:30Kapil, any ootb is not available for your situatio...Kapil, any ootb is not available for your situation as you situation is a little dicey, but not sure any feature of SPD can help you.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-77530204282116588022011-06-18T12:58:59.133+05:302011-06-18T12:58:59.133+05:30I would prefer a solution that need not be deploye...I would prefer a solution that need not be deployed..<br />any OOTB solution with designer?<br />ThanksKapil Gosainhttps://www.blogger.com/profile/12833583246874860727noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-84175222784619052292011-06-18T12:23:21.253+05:302011-06-18T12:23:21.253+05:30Kapil,
that is not possible by default.
but if yo...Kapil,<br /><br />that is not possible by default.<br />but if you have to then you can create a custom web part and show it.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-28078432085278766402011-06-18T04:53:59.984+05:302011-06-18T04:53:59.984+05:30Hi,
Is there a way where I can take all these res...Hi,<br /><br />Is there a way where I can take all these responses and cummulate them to show it as a dashboard on my main page..<br />say if 10 users respond as 50% and 10 as 25% then my dashboard will just show the average or cummalative response.<br />ThanksKapil Gosainhttps://www.blogger.com/profile/12833583246874860727noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-35942890712907235352011-05-17T11:23:39.956+05:302011-05-17T11:23:39.956+05:30santhi,
just check view source how the button ren...santhi,<br /><br />just check view source how the button renders and find out how you get that element in javascript<br /><br />put debug on every step to check where its breaking or to check if it is firing at all or not.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-79320792402586733302011-05-16T22:32:02.228+05:302011-05-16T22:32:02.228+05:30We are using SharePoint 2010 and are trying to hid...We are using SharePoint 2010 and are trying to hide the "Save and Close" button. We pasted the code into the content editor webpart and added it to the newform.aspx and editform.aspx but is still showing the "Save and Close" button. We're not sure what we're doing wrong. Could you please help?Santhinoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-60188351773988275022011-03-27T18:58:37.072+05:302011-03-27T18:58:37.072+05:30Anonymous,
Thanks for suggestion but we are more ...Anonymous,<br /><br />Thanks for suggestion but we are more in to technical stuff and rather then decorating we are more into resolving problems. we will defiantly will follow your suggestion in our upcoming post(s).SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-31293165542928181102011-03-25T06:30:06.730+05:302011-03-25T06:30:06.730+05:30This series of posts is really useful. To make the...This series of posts is really useful. To make them more useful still, it would be great if you include at the top of each page a quick summary of what the post will cover. Use appropriate keywords to make it easier to find these excellent resources from everyone's favourite search engine!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-31295425872686374362010-07-01T00:28:18.517+05:302010-07-01T00:28:18.517+05:30Fiona,
on the Survey page check URL
you will fin...Fiona,<br /><br />on the Survey page check URL<br /><br />you will find "Source=...." as query string and after button click you will be redirected to that URL.<br /><br />you can change the SOURCE URL and open the page again and press button you will be redirected to that URL.<br /><br />not its your call how to change it.<br /><br />you can change the link it self from where you are coming from this page.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-84748519249023782962010-06-30T22:41:27.408+05:302010-06-30T22:41:27.408+05:30Hi SK,
This si a brilliant series of articles - ...Hi SK, <br /><br />This si a brilliant series of articles - thank you so much!<br /><br />I have a question about the repsonse you gave to an earlier question: <br /><br />Bryce said: I would like to redirect a person to a thank you page upon completion of the survey instead of them going to the survey results. Is there a way to do this with javascript as was done with the save button? <br /><br />SK said: You can change source URL then you will be redirected to the page you want. now its your call how you change. <br /><br />My question: Change what URL, where and how? (because this is exactly what I need to do)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-68193382276383342152010-04-11T21:24:48.403+05:302010-04-11T21:24:48.403+05:30Marriner,
sorry for publishing late,
to answer y...Marriner,<br /><br />sorry for publishing late,<br /><br />to answer your question, that is not possible directly and not way to do it in sharepoint.<br /><br />but if you have to do it then you can save answer in cookie by jquery or javascript and check data on next question and replace place holder and so on...<br /><br />but suggesting not to do that as it might be west of time.<br /><br />Thanks,<br />Sharepoint kings teamSharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-33639666179456592782010-04-11T20:16:48.602+05:302010-04-11T20:16:48.602+05:30bryce,
you can change source URL then you will be...bryce,<br /><br />you can change source URL then you will be redirected to the page you want.<br /><br />now its your call how you change.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-43866166332397420972010-04-11T19:50:43.677+05:302010-04-11T19:50:43.677+05:30@Anonymous,
Use out of the box alert from survey ...@Anonymous,<br /><br />Use out of the box alert from survey and set "Existing items are modified"SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-85469224539212930762010-04-06T18:13:38.845+05:302010-04-06T18:13:38.845+05:30I want to be notified when someone responds to the...I want to be notified when someone responds to the survey. The alert only sends if they "modify" an existing response, not if a new response is created.<br /><br />How can that be done?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-7491835352874417602010-04-03T14:52:39.259+05:302010-04-03T14:52:39.259+05:30cory church,
you can use some place holder as sho...cory church,<br /><br />you can use some place holder as shown in sequence of post on survey, and replace it from javascript by image path. with IMG tag with source as you picture url.<br /><br />Hope this helps.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-66682916037012369532010-03-31T04:22:41.808+05:302010-03-31T04:22:41.808+05:30It might have been asked but I havent seen it. Any...It might have been asked but I havent seen it. Anyway to add pictures in the survey or add them via html? I really need this.cory churchhttps://www.blogger.com/profile/03561805136136892655noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-69502833238959119582010-03-15T19:04:30.970+05:302010-03-15T19:04:30.970+05:30I would like to redirect a person to a thank you p...I would like to redirect a person to a thank you page upon completion of the survey instead of them going to the survey results. Is there a way to do this with javascript as was done with the save button?Unknownhttps://www.blogger.com/profile/10800318149600979954noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-71100570872054057112010-03-15T19:03:14.933+05:302010-03-15T19:03:14.933+05:30Can someone show me how I could possibly have the ...Can someone show me how I could possibly have the next button redirect the person taking the survey to a thankyou page? I do not want the user going to the survey results page.Unknownhttps://www.blogger.com/profile/10800318149600979954noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-39992144347331645412010-03-04T22:36:54.116+05:302010-03-04T22:36:54.116+05:30@iGibbo, Brian from Ireland,
If finally it is wor...@iGibbo, Brian from Ireland,<br /><br />If finally it is working then enjoy!!!<br /><br />Thanks,<br />Sharepoint Kings TeamSharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-27349927477745235962010-03-04T17:26:48.587+05:302010-03-04T17:26:48.587+05:30Yay! Got it working finally. What I found you need...Yay! Got it working finally. What I found you needed to do was to add &ToolPaneView=2 to the end of the url on the first page of your survey, which allows you add the content editor web part.<br /><br />Now, what you need to do is to add that web part to the bottom of your page and add the javascript posted on this page. Then it should work - adding the web part to the top of the page never removed the save button for me.<br /><br />Thanks everyone for the help!<br /><br />Brian from Ireland.iGibbohttps://www.blogger.com/profile/16085791327899039543noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-56978426586560699762010-03-04T09:25:06.600+05:302010-03-04T09:25:06.600+05:30just tried alert first
if it is working then in ...just tried alert first <br /><br />if it is working then in look and after getting object try to alert the value<br /><br />that's the only way to debug this king of javascript<br /><br />we tried in firefox and crome also javascript is working for us.<br /><br />good luck!!!SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-52510973852208785472010-03-03T21:30:44.447+05:302010-03-03T21:30:44.447+05:30The java script is not working for me either. I...The java script is not working for me either. I've added the content editor to the survey page, pasted the HTML you suggest into the Source Editor, but no change.<br /><br />Any ideas? Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-62682624567637987662010-03-01T23:12:59.239+05:302010-03-01T23:12:59.239+05:30there must be something missing in javascript.
ot...there must be something missing in javascript.<br /><br />otherwise its working for all.SharePoint Kingshttps://www.blogger.com/profile/08472838332009399790noreply@blogger.com