Avatar

Level 1

I have an old pdf form, which is a simple javascript calculation.

var count = this.getField("field1")

var price = this.getField("field2")

if (count.value !=0)

    event.value = (count.value * price.value)

else

    event.value = ""

If the form is blank, the form does not show "0" in multiplication result field. How I could get to the same designer 7 version? This would be important information for me.

Great thanks for your answer.