using javascript -- I am getting a NAN error when calculating a field that a 'null' value
each time a relevant textbox field has had its value changed, the javascript fires up and tries to recalculate all the relevant value fields within the form.
the problem is that is a value is null -- then the NAN value appears in the results 'label' -- stops the calculation.
there are 2 options here I think to stop this :
1. somehow override the NAN status
2. prevent the textbox field to not have nothing entered (or deleted from it) -- as this calculation is performed each time the relevant textbox is updated, removing textbox content is reflected instantly (causing a NAN status) -- is there a javascript routine to prevent removing to no characters, and/or is so, then made the value be '0' -- so there is at least some value enter constantly in order for the NAN status to not appear.
Start Free Trial