01-23-2019 01:42 PM
Hi,
I do not wish to offer our sponsors the End of business day option when they create guest accounts, I would like to turn off or hide this option permanently and cannot find how to do this.
Thanks.
Solved! Go to Solution.
01-24-2019 04:02 AM - edited 01-28-2019 06:41 AM
Please try the below script in Sponsor Portal Customization à Portal Access à Sponsor Portal Settings à Instructional Text .
<script>
setTimeout(function() {
$("#endofday").parent().hide();
$('a').on('click', function(){
if($(this).attr('href').indexOf("page-create") !== -1){
setTimeout(function() {
$("#endofday").parent().hide();
}, 3000);
}
})
}, 4000);
</script>
01-23-2019 01:45 PM
01-23-2019 01:56 PM
The option in the red box :
The expected behavior is that the End of business day option does not appear anymore on the create account for guest page.
01-23-2019 03:04 PM
01-24-2019 05:56 AM
On the contrary, I would like for it to be unchecked and not available to sponsors creating accounts.
01-25-2019 05:00 AM
01-25-2019 06:36 AM
Yes, the solution is partial though, the End of Business Day option does disappear, but can be seen for a few seconds, and if users create a second guest account the the option is offered without being hidden, or if they modify an account and come back to the create account page, the option is also offered.
I am looking for the possibility to never offer the option in any circumstance. The script is a SetTimeout function, is there a function to make the hide command permanent?
01-25-2019 06:49 AM
01-25-2019 06:53 AM
Thanks.
01-24-2019 04:02 AM - edited 01-28-2019 06:41 AM
Please try the below script in Sponsor Portal Customization à Portal Access à Sponsor Portal Settings à Instructional Text .
<script>
setTimeout(function() {
$("#endofday").parent().hide();
$('a').on('click', function(){
if($(this).attr('href').indexOf("page-create") !== -1){
setTimeout(function() {
$("#endofday").parent().hide();
}, 3000);
}
})
}, 4000);
</script>
01-28-2019 06:54 AM
This new script is better, when returning to the create accounts page the option is hidden as well.
The End of business day option is seen by the user for a few seconds though, it would be better that it was not.
Would changing the Timeout option times hide it faster ?
I will ask for the new feature.
Thanks for your help.
01-28-2019 06:59 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide