WMS Button Action

You can set up mobile actions for events associated with page or page elements. Both pages and page elements have on load events. Button, icon, and table elements have additional events for clicking or tapping. Field elements have events for selection, scanning, and validation. The action types available for events on page and page elements… Continue reading WMS Button Action

How to create show more and show less functionality for hiding text using jQuery

We can add Read More/Read Less button next to a too long HTML element by using jQuery.The amount of content displayed can be changed by clicking on the buttons. Instead of showing a complete paragraph on a webpage, only some part of the text is shown initially and a button is added which shows more… Continue reading How to create show more and show less functionality for hiding text using jQuery

Update Bulk item price on a button click

Requirement : On button click from sales order/estimate we can have a pop up listing all items with a checkbox and a field to enter the price level.When the user selects items and enter the price for it, upon submit, the selected items will get updated with the new price added. Solution 1: Created the… Continue reading Update Bulk item price on a button click

Error Messsage on Button Click

Scenario: On button click,a field value need to be validate.If value is not set in the field then error message need to be displayed.And the further button action need to be prevented in Client script. Solution: Use ‘N/ui/message’ module Code snippet: function in client script called on button action: // Defining the function called in… Continue reading Error Messsage on Button Click