Focus to the mandatory field automatically on saving

This script is written for a NetSuite Client Script and performs several tasks related to field validation, focusing on mandatory fields, and ensuring the user can easily correct missing or invalid inputs. Key Functionalities: Highlight and Focus on Missing Fields: The script highlights mandatory fields that are missing a value during the save operation. It… Continue reading Focus to the mandatory field automatically on saving

How to add extra field in the register page on SCA

Here we are adding the Province, Phone number Current Suppliers field on the Register page in SCA For this we need to create the custom field in NetSuite by Go to Customization > Lists, Records, & Fields > Entity Fields. On the Custom Entity Fields page, each custom field is listed, with columns providing detailed information… Continue reading How to add extra field in the register page on SCA

Test cases when creating a file upload field

When a file uploaded in the field 1.      Is the File Explorer Window opening upon clicking the File Name button2.      Is the user able to view all the files in the file explorer window3.      Is the user able to select the file4.      Is the user able to upload the file5.      Is the uploaded file viewable6.     … Continue reading Test cases when creating a file upload field

Points should consider for a field creation(Text field/Numeric field /Date field)

Text Field1.      Minimum Input Length2.      Maximum Input Length3.      Accepts Special Characters4.      Accepts Numeric/ Alpha-numeric/ Character Input respect to type of field5.      Can user Paste into the field6.      Can the user can Copy the field.7.      Can Delete / Edit the TextNumeric1.      Accepts Positive Input2.      Accepts Negative Input Values3.      Accepts Alphabets Character Input4.      Accepts Special Symbols5.      Max… Continue reading Points should consider for a field creation(Text field/Numeric field /Date field)

Comparing Two dates

Scenario: We have a start date and a Due date and need to a validation where Due date date should be a date after the Start date. Solution: Usually we can use the JavaScript Date() function. But you can’t compare two dates using that. Better approach to make comparison between dates is to use getTime() function. This… Continue reading Comparing Two dates

Adding Validation Message to Canvas Input Fields (Issues in iOS Devices)

While adding a validation message to a canvas Input field in html forms for adding Signature, consider the below points. When we convert the value of blank canvas to a string value for the comparison between empty and non-empty canvas fields, the value for blank canvas will be different for iOS devices including iPhone, iPad,… Continue reading Adding Validation Message to Canvas Input Fields (Issues in iOS Devices)