Avatar

Level 8

Thank you.

So, would you like to say that, my approach is NOT a safe/recommended/good approach, as below?

var myTestField

if (!/^\s*$/.test(myTestField))

// yes, some value (not blank, not null) is there, you can put ur logic here

{

1) If its safe/good then i want to go with my approach.

2) If its not safe/good...... currently i put some other stuff (code) for this myTestField in JavaScript.....so, now, can i implement your suggestion of FormCalc, meaning, can i implement mixture of JavaScript & FormCalc fo rthe same myTestField?

Thank you