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

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Save and Close Button before clicking on initial save

MuhammadAlam
Collaborator III

Hi Team,

Can someone please guide me how to start using custom object.

Thanks

Muhammad Alam 

2 REPLIES 2

DavidPetty
Archer Employee
Archer Employee

Hi Muhammad 

You can search for code in this user community, Archer Custom Objects - RSA Link

A small custom object primer can be found here, Custom Objects And You - RSA Link - 520124

For your ask, why does it matter that the user click Save first before clicking Save and Close (which is exactly what Save does but also exits the record)?

 Advisory Consultant

Daniel_Mueller
Contributor III

Hi Muhammad,

this should do it:

 

<script type="text/javascript">
	Sys.Application.add_load( function() {
		if(getRecordId()== 0) {	
            $('#master_btnSave1').css('display', 'none');
		}
	});
</script>

 

Kind regards,

Daniel