It’s common to encounter situations where a user may unintentionally click a button multiple times, leading to undesirable consequences or duplicate actions. Solution: To prevent such scenarios, We can use the techniques to disable buttons temporarily after the first click. One popular method involves using JavaScript/jQuery to manipulate the button’s properties dynamically. The first part… Continue reading Disable the button to prevent multiple clicks
Tag: button click
Print packing slip from a custom button to show Expiration date from inventory details
The requirement is to show the expiration date from inventory details in the packing slip. As there is no standard option to fetch the expiration date to print template, we have used the custom button to print packing slip. via script we can get the inventory detail subrecord fields.
How to rotate arrow icon 180 degrees onclick.
We can create rotating icon on dropdown list, that activate when click on icon. Extension: _.extend(FacetsFacetedNavigationItemCategoryView.prototype, { template: jj_subcategory_plpsubcategory_tpl, events: _.extend(FacetsFacetedNavigationItemCategoryView.prototype.events, { ‘click .subdiv2’: ‘hide’, … Continue reading How to rotate arrow icon 180 degrees onclick.
Add button to send payment voucher to vendor from bill payment
Requirement Add a button (labelled “Send email “) in the Bill payment record. On the button click the Payment Voucher should be emailed to the supplier. The recipient email address can be taken from the supplier record. The payment voucher is the print template in Bill payment. Solution Button created on bill payment record. on… Continue reading Add button to send payment voucher to vendor from bill payment
Adding Link to the button using configuration record.
Create new page in My account in extension js modules like,open js module and crete extra file for new page name as jj.three.three.router.js. We can create page by using the router . In router file with view file and model file names required for data and server links (URL).view file links with tpl file(jj_three_three_tpl) of… Continue reading Adding Link to the button using configuration record.
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
Showing a Popup in the Login Register page when a button clicked
On clicking the upload certificate button on the registration page, a new pop-up needs to be displayed on the registration page. Solution: Create a modal for popup, for that create a separate view file for the pop up and in the view file of login register page, add a click function in events for the… Continue reading Showing a Popup in the Login Register page when a button clicked
Restrict the Multiple Click of a Button
We need to restrict the multiple clicks of a button in a suitelet page or a record. Because of the button is a button action, then multiple time submit action will trigger and causes the error. The proposed solution for restricting the multiple button click in a page is we should disable the button after… Continue reading Restrict the Multiple Click of a Button
Add Button and Update the sub customers.
Create a Button on the Customer Record . On that Button Click Update the Group Pricing and Item Pricing to the Sub Customers to that respective Customer .
Send an email through workflow action scripts.
This topic includes all the workflow script done for sending email to customer by a button click.