Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Custom Form + JavaScript Question
Hi guys,
I'm hoping that someone would be able to help me.
I have a custom online form with different integer fields. Let's just call them FieldOne, FieldTwo, FieldThree, FieldFour and TotalField.
TotalField is a hidden field.
What I would like to do is have a Javascript statement within the <head> tags that adds the value of FieldOne, FieldTwo, FieldThree and FieldFour and populate TotalField with the total of FieldOne, Two, Three and Four.
Anyone can perhaps lead me in the right direction with the Javascript statement?
From my understanding, I need to use a function? And place the function within the body tag and have this function run when user submit the form?
0