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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Custom Online Form + JavaScript Questions.
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