You need to sign in to do that
Don't have an account?

query regarding s-control URLFOR
hi all,
i used a s-control for controlling some functionality so that user is moved to edit page whenever condition is not fulfilled. it is working fine with save button but during click of 'cancel' button same result is obtained like page is refreshed and same error occurs again.
i used window.location.href="{!URLFOR($Action.Lead.Edit,Lead.Id,null,true)}"; for rendering user to edit page.
i need to cancel all operations and return to details view page on click of 'cancel' button .
please help me its urgent.
thanks,
mahi