If Then Statement


#1

Hi There.

I want to create a from to make a cutting list with the inputs height and width when i submit the form i want to run a java script if statement.to show a cutting list
For example if i type in height 720 width 600 i want the result to show sides 720 base 564 door 715 x 595. If i type in height 720 width 500 i want the result to show sides 720 base 464 door 715 x 495.
once the width gets past 600 then i need 2 doors for example if i type in height 720 width 700 i want the result to show sides 720 base 664 2 doors 715 x 345.

The height always stays the same and the width is -36 and the doors are the height - 5 and width -5.when the unit size goes over 600 then unit needs 2 doors

any advice please


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.