Phillip, That is not optimal for us because we don't want to force a user to choose something each time they log in. rather just display the results for what they have chosen previously.
Logic,
I have tried that with no luck.
could it be because each hidden rowset is different on the page ie.
Code:
<tr class="ocusdheart">
<td class="bold">HEART CONDITION:</td><td id="HRI_Heart_Condition">~([01]HRI_Heart_Condition)</td><td class="gwCen"></td>
<td><select name="eReg|HRI_Heart_Condition" id="eReg|HRI_Heart_Condition" onchange="JavaScript: toggleRows(this, ['heart1', 'heart2', 'heart3', 'heart4']);">
<option value="">Select...</option><option value="Y">Yes</option><option value="N">No</option>
</tr>
Code:
</tr>
<tr class="ocusdseizures">
<td class="bold">SEIZURES:</td><td id="HRI_Seizures">~([01]HRI_Seizures)</td><td class="gwCen"></td>
<td><select name="eReg|HRI_Seizures" id="eReg|HRI_Seizures" onchange="JavaScript: toggleRows(this, ['seizure1', 'seizure2', 'seizure3', 'seizure4', 'seizure5', 'seizure6', 'seizure7', 'seizure8', 'seizure9']);">
<option value="">Select...</option><option value="Y">Yes</option><option value="N">No</option>
</tr>
both call the same script onchange but they have different values associated with the script
I could be completely wrong here but wouldn't running togglerows onload not work as is because of the specifications in each line item as to what rows to unhide?
How does running the javascript by itself know 1) what rows to unhide and 2) whether or not the selected value of each particular select == Y..
Would I have to run each specific onchange event onload somehow?