1. The willCommit property is read-only. You can assign a value to it. You should remove those statements.
2. You've placed the numbers inside quotes, which turns them into strings and prevents you from using them in mathematical comparisons. Remove the quotes and it should work.
3. Don't use the hidden property, it's deprecated. Use the display property instead.
That worked perfect, thank you!!
What value did you use for display? t1.display what?
Honestly I ended up just keeping the hidden property. All I did was remove the quotes around the numbers and the form worked perfect after that.
I ended up using
and it worked fine. I am wondering how to do visible but doesn't print?