This script uses to remove white spaces in an input field after string insertion. Note: Make sure that you have added the required files.
Author: Karishma K K
HTML input field non-white spacing validation
In certain situations, there comes some validation to disallow white spaces in input filled. The below-given regex can use for such validation. The above-given Regex shows invalid if, there exists any white space in the input field value. If you want to validate the non-whitespace only for the starting and ending position of the input… Continue reading HTML input field non-white spacing validation
For checking and adding auto http protocol for input type URL validation
In normal input field ‘type = URL’ in the HTML form, has a default validation. It will only allow a URL with prefix protocol. ie, http://www.test.com as a sample domain. Even though www.test.com is a valid domain structure, it will be failed for the above-mentioned validation. It is necessary for http:// or https:// protocol. So,… Continue reading For checking and adding auto http protocol for input type URL validation
Display Modal Popup on Page Load
Loading image on Page Load
Sometimes, there faces page load lagging time after submission or reloading of the page. In this situation, it is better to use a page loading image, so that the user can understand what does exactly happening and also it increases the UX.
Distro file in SCA
Location of Distro file based on SCA version In 2020.1 release and later >> the file is located within the SC_xxx/Advanced directory within your root source directory. For example: SC_20.1/Advanced 2019.2 >> the file is located within the *_Live/Advanced/ directory within your root source directory. For example: SC_19.2_Live/Advanced/ 2019.1 and earlier >> this file is… Continue reading Distro file in SCA
File Upload Button Customization
Sometimes, there may face some issues with the default ‘Choose file‘ button structure. It may affect our page responsiveness, button functionality.. etc. So, in these situations, we need quick button customization. Below giving one of the simple and easiest file upload button customization. After uploading the file, If you wish to automatically change the button… Continue reading File Upload Button Customization
ERR_CONNECTION_REFUSED – SCA Local setup issue
Reason In a NetSuite account, we can create multiple domains. But SSL certificate implementation can only be done for a single account. So, if we tried to set up our SCA website locally, it will show an error in the console as given below: Solution For this situation, we can use a secured domain (SSL… Continue reading ERR_CONNECTION_REFUSED – SCA Local setup issue
SCA Website Setup
In NetSuite, go to Commerce > Websites > New to launch the New Web Site page. Click Select under SuiteCommerce MyAccount. Add Display Name – to add a name that you desire to display in the heading of your site. Add Internal Name – to add a name for your site as you want it… Continue reading SCA Website Setup
Why Loading Blank Page After Domain Activation?
Make certain that your DNS Activation process is configured correctly. After Gulp Deployment of source file to your SSP folder, there may chance to miss some files and folders in our deployed SSP source folder. That’s why it shows blank page After domain Activation. Most probably, this issue may cause for SCA latest versions. We simply follow the steps outlined below in order to make the page visible:… Continue reading Why Loading Blank Page After Domain Activation?