How can you hide the survey 'Save' button

GChanner
Tera Guru

We are on the San Diego release and would like to roll out surveys for incident management. The block we are having is that we would like to hide the survey 'Save' button from our built survey.

I know in previous versions (pre San Diego) this was to simply comment out the line in the html code.

I see have seen many post in the community on how to do this however those post are referring to the now deprecated widget 'Take Survey (take-survey)'. San Diego uses 'Surveys and Assessments (take_assessment)' widget

Has anyone found a way to hide the button and if so how did you accomplish this?

2 REPLIES 2

Yousaf
Giga Sage

Hi,

Can't you just comment out save button code in assessment.take2 ?? I am not sure.




***Mark Correct or Helpful if it helps.***

Jeffrey Siegel
Mega Sage

access the instance of the widget in page editor by control+right clicking on the survey and picking "Instance in Page Editor"

under CSS add the following code to target the button and hide it:

 

button.btn-default.hidden-xs.asmt-margin-r-md.ng-binding.ng-scope { 
visibility: hidden;
}

 

control+s to save, and refresh the survey, the save button should be gone!