07-22-2016 09:09 AM
Is it possible to change the from/to time in the Access Information portion of the Sponsor Guest Portal from a 24-hour formatted clock to a 12-hour formatted clock?
Thanks,
Matt
Solved! Go to Solution.
12-03-2016 02:07 PM
Matt goes this working with the following code:
We are working to make this part of the portal permanent from the ISE side. I will post the enhancement when I get it
Paste this under optional content 2, create known accounts section of the sponsor portal for any of the languages you are using:
(function(){
$(document).ready(function() {
jQuery(".ui_approve_accounts_button").hide() ;
jQuery(".ui_notices_button").hide() ;
jQuery(".ui-block-c").hide() ;
});
})();
</script><script>
(function(){
function removeMinutes(){
if(jQuery(".duration:visible").attr("unit").toUpperCase()==="DAYS"){
jQuery("table.dateTimeGrid td.colRight").hide();
setTimeout(
function(){
jQuery("[name='from-time']").val("00:00");
jQuery("[name='to-time']").val("23:59");
}
,50);
}
}
jQuery( "body" ).bind( "accesscreated", function() {
removeMinutes();
});
jQuery( "body" ).bind( "editAccessCreated", function() {
removeMinutes();
});
})();
</script>
12-03-2016 02:07 PM
Matt goes this working with the following code:
We are working to make this part of the portal permanent from the ISE side. I will post the enhancement when I get it
Paste this under optional content 2, create known accounts section of the sponsor portal for any of the languages you are using:
(function(){
$(document).ready(function() {
jQuery(".ui_approve_accounts_button").hide() ;
jQuery(".ui_notices_button").hide() ;
jQuery(".ui-block-c").hide() ;
});
})();
</script><script>
(function(){
function removeMinutes(){
if(jQuery(".duration:visible").attr("unit").toUpperCase()==="DAYS"){
jQuery("table.dateTimeGrid td.colRight").hide();
setTimeout(
function(){
jQuery("[name='from-time']").val("00:00");
jQuery("[name='to-time']").val("23:59");
}
,50);
}
}
jQuery( "body" ).bind( "accesscreated", function() {
removeMinutes();
});
jQuery( "body" ).bind( "editAccessCreated", function() {
removeMinutes();
});
})();
</script>
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