Highlighted

print button needs two different instances

Avatar

14-02-2009

I have a ticket order form that I have designed. I am using formcalc to handle the different ticket prices (3 different prices) and an additional line that contains a required $2 handling fee. After that, there is a line for grand total which tallies the 3 different ticket prices and the handling fee.



So far it seems straight forward.



The problem is that I want the form to be able to be a blank printable form as well so that someone can print it out and fill it out the old fashion way. That would require the grand total to be blank which is not the case with the manditory $2 handling fee included in the formcalc.



I've tried a variety of scripts without success. basically I want to have

javascript that says if the subtotal(tickets only) <= "0" then don't print anything in the grandtotal (which contains the subtotal and the $2 handling). I want the $2 to dissapear.



Any suggestions would be appreciated!



Let me know if you need more details or if you need to see the form.

Thanks!

Replies

Highlighted

Avatar

Avatar

gkaiseril

Avatar

gkaiseril

gkaiseril

16-02-2009

You can set the fields to a null value or hide them before executing the print command.