Entry tags:
anyone who can help me w some javascript
It's a long shot, because I think I don't have a ton of readership these days, but here is a question that has nothing to do with my kid! :-D
The question is about a fillable PDF I'm trying to put together. The fields involved in my question are these:
items A1 - A5, A6 - A10, A10 - A15, etc.: user enters a score 0 through 5 (validated).
items T1, T2, and T3: totals of items A1 - A5, A10 - A15, and A20 - A25.
items F1, F2, and F3: product of item Tx and a multiplier.
item N: total of items F1, F2, and F3.
item X: a text display with one of three outputs determined by the value of N.
Everything is working beautifully EXCEPT that I would like to have a fourth output option for X, which is *nothing* (blank) in the event that any item A is null. That is: I want the user to enter scores for all the As before X outputs any display at all. Right now it is defaulting to the output if N is zero, and nothing I've been able to come up with can convince the machine to do anything different. I can't get X to care if any A is null, and I can't get F to care if any A is null, and I can't even get T - which is actually interacting directly with A - to care if any A is null. And as long as T is defaulting to zero, then F is defaulting to zero, so N is defaulting to zero, so X is defaulting to "if N < 50" and I'm up a tree.
Any help?
The question is about a fillable PDF I'm trying to put together. The fields involved in my question are these:
items A1 - A5, A6 - A10, A10 - A15, etc.: user enters a score 0 through 5 (validated).
items T1, T2, and T3: totals of items A1 - A5, A10 - A15, and A20 - A25.
items F1, F2, and F3: product of item Tx and a multiplier.
item N: total of items F1, F2, and F3.
item X: a text display with one of three outputs determined by the value of N.
Everything is working beautifully EXCEPT that I would like to have a fourth output option for X, which is *nothing* (blank) in the event that any item A is null. That is: I want the user to enter scores for all the As before X outputs any display at all. Right now it is defaulting to the output if N is zero, and nothing I've been able to come up with can convince the machine to do anything different. I can't get X to care if any A is null, and I can't get F to care if any A is null, and I can't even get T - which is actually interacting directly with A - to care if any A is null. And as long as T is defaulting to zero, then F is defaulting to zero, so N is defaulting to zero, so X is defaulting to "if N < 50" and I'm up a tree.
Any help?