PDA

View Full Version : I need a form that calculates.


Alex Ethridge
08-02-1999, 05:28 PM
Actually, I have already created the form.[nbsp][nbsp]It consists of four questions with two possibilities for the first one and four possibilities for the other three.[nbsp][nbsp]All are answered with radio buttons with assigned values of 1 through 4.[nbsp][nbsp]This is 256 possible combinations of answers.[nbsp][nbsp]However there are only four possible final answers to all 256 combinations.

Values for the radio button fields are as follows:
Patient 1 or 2
History 1, 2, 3 or 4
Exam 1, 2, 3 or 4
Decision 1, 2, 3 or 4

The calculations would go something like this:

If Patient=1 goto A
If Patient=2 goto B

:A
From History, Exam and Decision, choose the smallest value of the three; this number is your answer.

:B
From History, Exam and Decision, delete the smallest value (or one of the smallest if the two smallest values are equal) and the answer is the remaining smallest number.

If this question seems wordy, please excuse me.[nbsp][nbsp]I am not knowledgeable about this sort of thing and I just want to be sure I give enough information just in case a miracle takes place and someone can either write one for me or tell me where I might find a free one.

If anyone cares to see the form, here's the URL.[nbsp][nbsp]It isn't public yet (there are no outside links to it) because it doesn't calculate--yet.

http://www.imark2000.com/coding/score1.htm

Well, I had to come back and add an addendum to this.[nbsp][nbsp]The script is getting more complicated with its calculations.[nbsp][nbsp]I just talked with the person who this form is for and she added 9 more radio buttons.[nbsp][nbsp]So, I guess I'm gonna' have to have someone custom write this thing for me.

Any takers?

[This message has been edited by Alex Ethridge (edited 08-02-99)]