1

Currently in classic view we are validating fields using onclick javascript button before calling visualforce page.Client wants to move to lightning experience but lightning doesn't support onclick javascript button.Any other ways to validate fields before calling visualforce page in lightning experience?

  • Any reason you can't create a component that exercises the validation ? – Kevin P Feb 3 '17 at 16:59
1

You can create lightning components to do that. Here a good guide to replace onclick javascript buttons

https://developer.salesforce.com/blogs/developer-relations/2016/09/take-the-first-steps-ways-you-can-replace-javascript-buttons.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.