In a survey linked to Salesforce, we would like to prevent a user from completing the survey twice.
We have a dedicated field to know if it is already filled-in on Salesforce side.
On Survey Gizmo side, we would like to hide the Submit section entirely.
Following JS code helps hiding the Submit button:
Do you have the JS code to hide the Submit section entirely ?
Is there any other way to hide/disable this Submit section ?
Can you pull in the field that determines if the respondent has completed the survey or not using a Salesforce pull action?
Salesforce pull documentation:
I hope this is helpful to you!
In fact, sg-footer being a ClassName and not the Id like sg_SubmitButton, it did not work with $(“.sg-footer”).hide();.
I tried the following code and it seems to be ok to hide the footer:
I just need now to manage the logic, many thanks for your time.
This should hide all buttons and progress bar.
Let me know if that doesn’t work for you!
The field to determine if the user already completed the survey is already retrieved from Salesforce with a Pull action.
There is only one page, that is why I try to hide all the Submit section.
Actually, the code I use only hide the Submit button but not all the look and feel around it (with the percentage bar).
Do you know how to hide all the elements around the Submit button ?