NAN instead of 0
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
NAN instead of 0
Hello! I have a question about calculations. For example, you add the values of checkboxes and other elements. If none of the checkboxes is initially selected, or then NAN is given in the final amount. How can I make it be 0?
Last edited by openomsk on Wed Jan 25, 2023 8:35 am, edited 1 time in total.
Re: NAN instead of 0
What do you mean by 'cleaning'?
To which part of software is this question related?
To which part of software is this question related?
Re: NAN instead of 0
there was an automatic substitution of the word, but I didn't notice 
fixed

fixed
Re: NAN instead of 0
Note that this is not specifiuc to WWB, this is standard browser behavior :
But you can use JavaScript to check for NaN
https://developer.mozilla.org/en-US/doc ... ects/isNaN
But you can use JavaScript to check for NaN
Code: Select all
isNaN()