I managed to do the calculation, now i need to know how to do an identical validation, I added the value to the hidden field.
// Set the value of the hidden field
$ ('. quform-field-5_5'). val ('$' + total);
I need to check the value of the hidden field in the text field
help me ally