[SalesForce] Onclick Javascript Buttons with Lightning Experience

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?

Best Answer

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

Related Topic