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

Convert visual force page action into JavaScript
Hello -
Am i able to convert this visual force page action into javascript on the action button, so i can add validation by checking that some fields are not null, onClick of going to this new page?

Am i able to convert this visual force page action into javascript on the action button, so i can add validation by checking that some fields are not null, onClick of going to this new page?
I've never done something like that before.
Is there no way to redirect to this Visual Force Page through a URL?
You can something like this on OnClick javascript button:
if(condition)
window.open('/apex/youpage/','_target');