Discussions
NSC | Add Asterisk After the Check Total Amount in Words Dynamically Using Advanced PDF/HTML Templat
Use Case:
Businesses may want to add dynamic asterisks after the Check Total Amount in Words on printed checks for additional security.
This helps prevent users from manually adding text or values at the end of the printed amount line by automatically filling the remaining space with asterisks.
How It Works:
- Navigate to Customization > Forms > Advanced PDF/HTML Templates
- Locate the preferred Check PDF/HTML Template and click Edit
- On the upper-right corner, toggle Source Code
Look for the following code:
${check.totalwords}
Replace it with:
<td>${check.totalwords?right_pad(80, "*")}</td>
Note:
The value 80 can be replaced with any desired number depending on the required line width.
Alex Joves | Ask An Expert Live
Ask An Expert Live (AAEL) – An interactive program where Top Contributors share NetSuite expertise, answer your questions, and connect directly with the community. Designed to be informative and engaging, AAEL strengthens collaboration within the NetSuite Support Community. Click here to know more.
