Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide the Save and Close button on New Record

KennethBlacow
Collaborator II

Hello,

 

I am wanting to hide the Save and Close button on a new record to get the record enrolled in an Advanced Workflow. The new record will be created by non-archer end-users who will not understand the application. I tried using the code examples from this discussion, but it is not working. https://community.rsa.com/message/914041?commentID=914041#comment-914041 

 

I get a "syntax error invalid or unexpected token" error in the console. I do realize that if they click on Save And Close it is going to leave the record open, but I didn't want to even give them the idea that they could save and close.

 

Archer Version 6.7 P4

 

Thanks,

Ken

3 REPLIES 3

Ilya_Khen
Champion III

Kenneth Blacow,

<script>	
Sys.Application.add_load(function() {
$('#master_btnSave1').hide();
$('.rmLink:contains("Save and Close")').hide();
});
</script>

Thank you, that did the trick. I did figure out the master_btnSave1 name for the function but didn't know to use the function to hide the link.

 

Ken

Anytime